Remove bc dependency in translators.zip build script

This commit is contained in:
Dan Stillman 2008-09-15 06:25:44 +00:00
parent 9c999bff05
commit 14c8ce10cb

View file

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