diff --git a/dist-gpd.sh b/dist-gpd.sh index eba484c..a65f084 100755 --- a/dist-gpd.sh +++ b/dist-gpd.sh @@ -17,6 +17,9 @@ file_id=bin/File_ID.Diz echo Build a Golded+/DPMI binary package: ${name} and ${shortname} +if [ ! -f golded3/mygolded.h ]; then + cp golded3/mygolded.__h golded3/mygolded.h +fi sed -i.orig -e "s/\#define __GVER_POSTVERSION__ .*/\#define __GVER_POSTVERSION__ \"-b${date}\"/" golded3/mygolded.h files="bin/geddjg.exe bin/gndjg.exe bin/rddtdjg.exe" diff --git a/dist-gpl.sh b/dist-gpl.sh index caf7433..d2c57a6 100755 --- a/dist-gpl.sh +++ b/dist-gpl.sh @@ -10,6 +10,9 @@ name=../gpl115-${date}.zip echo Build a Golded+/lnx binary package: ${name} and ${shortname} +if [ ! -f golded3/mygolded.h ]; then + cp golded3/mygolded.__h golded3/mygolded.h +fi sed -i.orig -e "s/\#define __GVER_POSTVERSION__ .*/\#define __GVER_POSTVERSION__ \"-b${date}\"/" golded3/mygolded.h files="bin/gedlnx bin/gnlnx bin/rddtlnx" diff --git a/dist-gpv.sh b/dist-gpv.sh index 286bfb5..025df98 100755 --- a/dist-gpv.sh +++ b/dist-gpv.sh @@ -10,6 +10,9 @@ shortname=../gpv${shortdate}.zip echo Build a Golded+/w32mvc binary package: ${name} and ${shortname} +if [ ! -f golded3/mygolded.h ]; then + cp golded3/mygolded.__h golded3/mygolded.h +fi sed -i.orig -e "s/\#define __GVER_POSTVERSION__ .*/\#define __GVER_POSTVERSION__ \"-b${date}\"/" golded3/mygolded.h files="Release/bin/gedwin.exe Release/bin/gnwin.exe Release/bin/rddtwin.exe" diff --git a/dist-gpw.sh b/dist-gpw.sh index 08c86e2..271a02b 100755 --- a/dist-gpw.sh +++ b/dist-gpw.sh @@ -16,6 +16,9 @@ shortname=../gpw${shortdate}.zip echo Build a Golded+/w32mingw binary package: ${name} and ${shortname} +if [ ! -f golded3/mygolded.h ]; then + cp golded3/mygolded.__h golded3/mygolded.h +fi sed -i.orig -e "s/\#define __GVER_POSTVERSION__ .*/\#define __GVER_POSTVERSION__ \"-b${date}\"/" golded3/mygolded.h files="bin/gedcyg.exe bin/gncyg.exe bin/rddtcyg.exe" diff --git a/dist-sx86.sh b/dist-sx86.sh index e80abfe..4775dc8 100755 --- a/dist-sx86.sh +++ b/dist-sx86.sh @@ -12,6 +12,9 @@ pkgname=golded-plus-x86-115-${date}.pkg echo Build a Golded+/sunX86 binary package: ${name} (${pkgname}) +if [ ! -f golded3/mygolded.h ]; then + cp golded3/mygolded.__h golded3/mygolded.h +fi gsed -i.orig -e "s/\#define __GVER_POSTVERSION__ .*/\#define __GVER_POSTVERSION__ \"-b${date}\"/" golded3/mygolded.h printf "GoldED+1.1.5 [`uname` `uname -i` pkg]\r\n" >bin/File_ID.Diz