From 50dd51e26061be7ddeb18ae05bbdcb5d1d22223a Mon Sep 17 00:00:00 2001 From: Stas Degteff Date: Sun, 6 Nov 2005 12:51:16 +0000 Subject: [PATCH] Build 8.3-named archives too --- dist-gpc.sh | 7 ++++++- dist-gps.sh | 7 ++++++- dist-gpv.sh | 3 +++ dist-gpw.sh | 3 +++ 4 files changed, 18 insertions(+), 2 deletions(-) diff --git a/dist-gpc.sh b/dist-gpc.sh index 8578439..2846d5d 100755 --- a/dist-gpc.sh +++ b/dist-gpc.sh @@ -2,9 +2,14 @@ # Create a archive 'gpc*.zip' with configuration files examples. -name=../gpc115-`date +%Y%m%d`.zip +date=`date +%Y%m%d` +shortdate=`echo ${date} | sed s/^...//` +shortname=../gpc${shortdate}.zip +name=gpc115-${date}.tar.bz2 + dir=cfgs if [ -f ${name} ] ; then rm $name ; fi find ${dir} | grep -v CVS | zip -9 -@ -X ${name} +cp ${name} ${shortname} diff --git a/dist-gps.sh b/dist-gps.sh index b048e32..b73f50d 100755 --- a/dist-gps.sh +++ b/dist-gps.sh @@ -2,7 +2,10 @@ # Create a archive 'gps*.tar.bz2' with all source tree -name=gps115-`date +%Y%m%d`.tar.bz2 +date=`date +%Y%m%d` +shortdate=`echo ${date} | sed s/^...//` +shortname=../gps${shortdate}.zip +name=gps115-${date}.tar.bz2 cd .. ; tar -jcf ${name} \ --exclude CVS \ @@ -34,3 +37,5 @@ cd .. ; tar -jcf ${name} \ --exclude '*.a' \ --exclude '*.o' \ golded+ + +cp ${name} ${shortname} diff --git a/dist-gpv.sh b/dist-gpv.sh index 24bc874..291ab1c 100755 --- a/dist-gpv.sh +++ b/dist-gpv.sh @@ -5,6 +5,8 @@ date=`date +%Y%m%d` name=../gpwin-115-${date}.zip +shortdate=`echo ${date} | sed s/^...//` +shortname=../gpv${shortdate}.zip sed -i.orig -e "s/\#define __GVER_POSTVERSION__ .*/\#define __GVER_POSTVERSION__ \"-b${date}\"/" golded3/mygolded.h @@ -32,3 +34,4 @@ printf ' *http://golded-plus.sf.net* \r\n' >>Release/bin/File_ID.Diz make docs zip -9DXj ${name} Release/bin/File_ID.Diz $files +cp ${name} ${shortname} diff --git a/dist-gpw.sh b/dist-gpw.sh index 2420abb..c05a2b7 100755 --- a/dist-gpw.sh +++ b/dist-gpw.sh @@ -10,7 +10,9 @@ then fi date=`date +%Y%m%d` +shortdate=`echo ${date} | sed s/^...//` name=../gpw32-115-${date}.zip +shortname=../gpw${shortdate}.zip sed -i.orig -e "s/\#define __GVER_POSTVERSION__ .*/\#define __GVER_POSTVERSION__ \"-b${date}\"/" golded3/mygolded.h @@ -38,3 +40,4 @@ make make strip make docs zip -9DXj ${name} bin/File_ID.Diz $files +cp ${name} ${shortname}