Remove bc dependency in translators.zip build script

This commit is contained in:
Dan Stillman 2008-09-15 06:25:44 +00:00
parent 93c65ebabd
commit 880c0bcf59

View File

@ -10,11 +10,11 @@ counter=0;
for file in *.js; do for file in *.js; do
newfile=$counter.js; newfile=$counter.js;
cp "$file" output/$newfile; cp "$file" output/$newfile;
counter=`echo $counter + 1 | bc`; counter=$(($counter+1));
done; done;
cd output cd output
zip ../translators.zip * zip ../translators.zip *
cd .. cd ..
rm -rf output rm -rf output
mv translators.zip .. mv translators.zip ..