updated: Chinese translation

changed: release script now creates *.zip files instead of *.tar.gz


git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@346 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2011-05-28 22:43:35 +00:00
parent af2f173a82
commit c4bcecc029
3 changed files with 49 additions and 44 deletions
+13 -10
View File
@@ -103,9 +103,9 @@ fi
if [ $d = "y" -o $d = "Y" ]
then
ntar="$n-bin.$datestr.tar.gz";
ntar="$n-bin.$datestr.zip";
else
ntar="$n-bin.tar.gz";
ntar="$n-bin.zip";
fi
mkdir $n
@@ -114,7 +114,8 @@ cp ../src/ttcalc.exe $n
cp ../COPYRIGHT $n
cp ../README $n
cp ../CHANGELOG $n
tar -zcf $ntar $n
#tar -zcf $ntar $n
zip -r -9 $ntar $n
rm -r $n
@@ -169,9 +170,9 @@ fi
if [ $d = "y" -o $d = "Y" ]
then
ntar="$n-bin.$datestr.tar.gz";
ntar="$n-bin.$datestr.zip";
else
ntar="$n-bin.tar.gz";
ntar="$n-bin.zip";
fi
mkdir $n
@@ -182,7 +183,8 @@ mv ttcalc.chm $n
cp ../COPYRIGHT $n
cp ../README $n
cp ../CHANGELOG $n
tar -zcf $ntar $n
#tar -zcf $ntar $n
zip -r -9 $ntar $n
rm -r $n
@@ -203,9 +205,9 @@ fi
if [ $d = "y" -o $d = "Y" ]
then
ntar="$n-src.$datestr.tar.gz";
ntar="$n-src.$datestr.zip";
else
ntar="$n-src.tar.gz";
ntar="$n-src.zip";
fi
@@ -239,7 +241,8 @@ cp ../COPYRIGHT $n/ttcalc
cp ../README $n/ttcalc
cp ../CHANGELOG $n/ttcalc
tar -zcf $ntar $n
#tar -zcf $ntar $n
zip -r -9 $ntar $n
rm -r $n
@@ -259,7 +262,7 @@ echo "---------" >> note.txt
cat ../CHANGELOG >> note.txt
rm note.txt.md5
unix2dos -o note.txt
unix2dos note.txt
echo "done"
exit 0