From afc2f2acd9c06c9d021f02de59068151ab35fd95 Mon Sep 17 00:00:00 2001 From: Stas Degteff Date: Wed, 4 Oct 2006 20:12:31 +0000 Subject: [PATCH] lowercase 'file_id.diz'. Request from Gert Koefoed Andersen 2:236/150 --- dist-gpv.sh | 23 ++++++++++++----------- dist-gpw.sh | 23 ++++++++++++----------- dist-sx86.sh | 23 ++++++++++++----------- 3 files changed, 36 insertions(+), 33 deletions(-) diff --git a/dist-gpv.sh b/dist-gpv.sh index 71100d1..e1f308a 100755 --- a/dist-gpv.sh +++ b/dist-gpv.sh @@ -7,6 +7,7 @@ date=`date +%Y%m%d` name=../gpwin-115-${date}.zip shortdate=`echo ${date} | sed s/^...//` shortname=../gpv${shortdate}.zip +dizfile=Release/bin/file_id.diz echo Build a Golded+/w32mvc binary package: ${name} and ${shortname} @@ -29,16 +30,16 @@ rm ${bines} nmake /f golded.mak CFG="Release" clean nmake /f golded.mak CFG="Release" -printf 'GoldED+1.1.5 [Win32 binaries]\r\n' >Release/bin/File_ID.Diz -printf '[Compiled using MS Visual C++]\r\n' >>Release/bin/File_ID.Diz -printf 'Snapshot (development version)\r\n' >>Release/bin/File_ID.Diz -printf 'This is unstable release and\r\n' >>Release/bin/File_ID.Diz -printf 'it should be used for testing\r\n' >>Release/bin/File_ID.Diz -printf '------------------------------\r\n' >>Release/bin/File_ID.Diz -printf 'GoldED+ is a successor of the\r\n' >>Release/bin/File_ID.Diz -printf 'wellknown GoldED mail editor.\r\n' >>Release/bin/File_ID.Diz -printf '------------------------------\r\n' >>Release/bin/File_ID.Diz -printf ' *http://golded-plus.sf.net* \r\n' >>Release/bin/File_ID.Diz +printf 'GoldED+1.1.5 [Win32 binaries]\r\n' >${dizfile} +printf '[Compiled using MS Visual C++]\r\n' >>${dizfile} +printf 'Snapshot (development version)\r\n' >>${dizfile} +printf 'This is unstable release and\r\n' >>${dizfile} +printf 'it should be used for testing\r\n' >>${dizfile} +printf '------------------------------\r\n' >>${dizfile} +printf 'GoldED+ is a successor of the\r\n' >>${dizfile} +printf 'wellknown GoldED mail editor.\r\n' >>${dizfile} +printf '------------------------------\r\n' >>${dizfile} +printf ' *http://golded-plus.sf.net* \r\n' >>${dizfile} make docs @@ -46,5 +47,5 @@ for i in ${bines} ; do if [ ! -f ${i} ] ; then echo "File ${i} not exists, stop!"; exit 1 ; fi done -zip -9DXj ${name} Release/bin/File_ID.Diz $files +zip -9DXj ${name} ${dizfile} $files cp ${name} ${shortname} diff --git a/dist-gpw.sh b/dist-gpw.sh index 10f9bdf..c634144 100755 --- a/dist-gpw.sh +++ b/dist-gpw.sh @@ -13,6 +13,7 @@ date=`date +%Y%m%d` shortdate=`echo ${date} | sed s/^...//` name=../gpw32-115-${date}.zip shortname=../gpw${shortdate}.zip +dizfile=bin/file_id.diz echo Build a Golded+/w32mingw binary package: ${name} and ${shortname} @@ -31,16 +32,16 @@ files="${files} docs/rddt.html docs/rddt.txt docs/readme.txt" files="${files} docs/rusfaq.txt docs/tips.txt docs/todowork.txt" files="${files} docs/tokencfg.txt docs/tokentpl.txt" -printf 'GoldED+1.1.5 [Win32 binaries]\r\n' >bin/File_ID.Diz -printf '[Compiled using MinGW/Cygwin]\r\n' >>bin/File_ID.Diz -printf 'Snapshot (development version)\r\n' >>bin/File_ID.Diz -printf 'This is unstable release and\r\n' >>bin/File_ID.Diz -printf 'it should be used for testing.\r\n' >>bin/File_ID.Diz -printf '------------------------------\r\n' >>bin/File_ID.Diz -printf 'GoldED+ is a successor of the\r\n' >>bin/File_ID.Diz -printf 'wellknown GoldED mail editor.\r\n' >>bin/File_ID.Diz -printf '------------------------------\r\n' >>bin/File_ID.Diz -printf '*golded-plus.sourceforge.net* \r\n' >>bin/File_ID.Diz +printf 'GoldED+1.1.5 [Win32 binaries]\r\n' >${dizfile} +printf '[Compiled using MinGW/Cygwin]\r\n' >>${dizfile} +printf 'Snapshot (development version)\r\n' >>${dizfile} +printf 'This is unstable release and\r\n' >>${dizfile} +printf 'it should be used for testing.\r\n' >>${dizfile} +printf '------------------------------\r\n' >>${dizfile} +printf 'GoldED+ is a successor of the\r\n' >>${dizfile} +printf 'wellknown GoldED mail editor.\r\n' >>${dizfile} +printf '------------------------------\r\n' >>${dizfile} +printf '*golded-plus.sourceforge.net* \r\n' >>${dizfile} rm bin/*cyg.exe make clean @@ -52,5 +53,5 @@ for i in ${bines} ; do if [ ! -f ${i} ] ; then echo "File ${i} not exists, stop!"; exit 1 ; fi done -zip -9DXj ${name} bin/File_ID.Diz $files +zip -9DXj ${name} ${dizfile} $files cp ${name} ${shortname} diff --git a/dist-sx86.sh b/dist-sx86.sh index b2916c1..4cea53c 100755 --- a/dist-sx86.sh +++ b/dist-sx86.sh @@ -9,6 +9,7 @@ email=`sed -n -e "/^#define __GVER_VENDOR_EMAIL__/s/#define __GVER_VENDOR_EMAIL_ date=`date +%Y%m%d` name=bin/gpsunx86-115-${date}.zip pkgname=golded-plus-x86-115-${date}.pkg +dizfile=bin/file_id.diz echo Build a Golded+/sunX86 binary package: ${name} \(${pkgname}\) @@ -21,15 +22,15 @@ gsed -i.orig -e "s/\#define __GVER_POSTVERSION__ .*/\#define __GVER_POSTVERSION_ if [ ! -d "bin" ] ; then mkdir bin; fi -printf "GoldED+1.1.5 [`uname` `uname -i` pkg]\r\n" >bin/File_ID.Diz -printf 'Snapshot (development version)\r\n' >>bin/File_ID.Diz -printf 'This is unstable release and\r\n' >>bin/File_ID.Diz -printf 'it should be used for testing.\r\n' >>bin/File_ID.Diz -printf -- '------------------------------\r\n' >>bin/File_ID.Diz -printf 'GoldED+ is a successor of the\r\n' >>bin/File_ID.Diz -printf 'wellknown GoldED mail editor.\r\n' >>bin/File_ID.Diz -printf -- '------------------------------\r\n' >>bin/File_ID.Diz -printf '*golded-plus.sourceforge.net* \r\n' >>bin/File_ID.Diz +printf "GoldED+1.1.5 [`uname` `uname -i` pkg]\r\n" >${dizfile} +printf 'Snapshot (development version)\r\n' >>${dizfile} +printf 'This is unstable release and\r\n' >>${dizfile} +printf 'it should be used for testing.\r\n' >>${dizfile} +printf -- '------------------------------\r\n' >>${dizfile} +printf 'GoldED+ is a successor of the\r\n' >>${dizfile} +printf 'wellknown GoldED mail editor.\r\n' >>${dizfile} +printf -- '------------------------------\r\n' >>${dizfile} +printf '*golded-plus.sourceforge.net* \r\n' >>${dizfile} # make binaries @@ -58,7 +59,7 @@ mkdir $pkgdir for i in docs/*.1 ; do pkgproto $i=share/man/man1/`basename $i` ; done ;\ pkgproto cfgs=share/golded+/cfgs ;\ (pkgproto docs=share/golded+/docs | grep -v building.txt | grep -v linux | grep -v "\.1=" | grep -v "\.html=") ;\ - (pkgproto manuals=share/golded+/manuals | grep -v "\.tei=") ) | grep -v CVS | grep -v File_id.diz | grep -v Makefile |\ + (pkgproto manuals=share/golded+/manuals | grep -v "\.tei=") ) | grep -v CVS | grep -v `basename ${dizfile}` | grep -v Makefile |\ gsed "s/\.\(chs\|bbs\|cfg\|esc\) 0755 /.\1 0644 /" | awk '{print $1 " " $2 " " $3 " " $4 " root root"}' )) \ >$pkgdir/Prototype echo 'P CSWncurses ncurses - ncurses library and utilities' > $pkgdir/depend @@ -80,4 +81,4 @@ cd ../.. rm -rf $pkgdir # zipping -zip -9DXj ${name} bin/File_ID.Diz bin/$pkgname +zip -9DXj ${name} ${dizfile} bin/$pkgname