11 echo "$f doesn't exist"
14 ws="$(dirname $f)/wscript_build"
16 if test -s $ws && ! grep "AUTOGENERATED.by.mktowscript" $ws > /dev/null; then
17 echo "Skipping manually edited file $ws"
23 if [ "$list" = "" ]; then
26 ./mktowscript.pl $list > wscript_build.$$ || {
28 rm -f wscript_build.$$
31 if cmp wscript_build.$$ $ws > /dev/null 2>&1; then
32 rm -f wscript_build.$$
34 mv wscript_build.$$ $ws || exit 1