diff --git a/dist-gpd.sh b/dist-gpd.sh index eee5fca..6f50788 100755 --- a/dist-gpd.sh +++ b/dist-gpd.sh @@ -19,6 +19,8 @@ echo Build a Golded+/DPMI binary package: ${name} and ${shortname} if [ ! -f golded3/mygolded.h ]; then cp golded3/mygolded.__h golded3/mygolded.h + echo "golded3/mygolded.h is created now. Please edit this file" + exit 1 fi sed -i.orig -e "s/\#define __GVER_POSTVERSION__ .*/\#define __GVER_POSTVERSION__ \"-b${date}\"/" golded3/mygolded.h diff --git a/dist-gpl.sh b/dist-gpl.sh index a368453..23e13e8 100755 --- a/dist-gpl.sh +++ b/dist-gpl.sh @@ -12,6 +12,8 @@ echo Build a Golded+/lnx binary package: ${name} and ${shortname} if [ ! -f golded3/mygolded.h ]; then cp golded3/mygolded.__h golded3/mygolded.h + echo "golded3/mygolded.h is created now. Please edit this file" + exit 1 fi sed -i.orig -e "s/\#define __GVER_POSTVERSION__ .*/\#define __GVER_POSTVERSION__ \"-b${date}\"/" golded3/mygolded.h diff --git a/dist-gpv.sh b/dist-gpv.sh index 8769eae..223f97f 100755 --- a/dist-gpv.sh +++ b/dist-gpv.sh @@ -12,6 +12,8 @@ echo Build a Golded+/w32mvc binary package: ${name} and ${shortname} if [ ! -f golded3/mygolded.h ]; then cp golded3/mygolded.__h golded3/mygolded.h + echo "golded3/mygolded.h is created now. Please edit this file" + exit 1 fi sed -i.orig -e "s/\#define __GVER_POSTVERSION__ .*/\#define __GVER_POSTVERSION__ \"-b${date}\"/" golded3/mygolded.h diff --git a/dist-gpw.sh b/dist-gpw.sh index 53cb25f..65f46a1 100755 --- a/dist-gpw.sh +++ b/dist-gpw.sh @@ -18,6 +18,8 @@ echo Build a Golded+/w32mingw binary package: ${name} and ${shortname} if [ ! -f golded3/mygolded.h ]; then cp golded3/mygolded.__h golded3/mygolded.h + echo "golded3/mygolded.h is created now. Please edit this file" + exit 1 fi sed -i.orig -e "s/\#define __GVER_POSTVERSION__ .*/\#define __GVER_POSTVERSION__ \"-b${date}\"/" golded3/mygolded.h diff --git a/dist-sx86.sh b/dist-sx86.sh index c436f30..531d5d4 100755 --- a/dist-sx86.sh +++ b/dist-sx86.sh @@ -14,6 +14,8 @@ echo Build a Golded+/sunX86 binary package: ${name} \(${pkgname}\) if [ ! -f golded3/mygolded.h ]; then cp golded3/mygolded.__h golded3/mygolded.h + echo "golded3/mygolded.h is created now. Please edit this file" + exit 1 fi gsed -i.orig -e "s/\#define __GVER_POSTVERSION__ .*/\#define __GVER_POSTVERSION__ \"-b${date}\"/" golded3/mygolded.h