# HG changeset patch # User edhoprima # Date 1240675866 0 # Node ID 78ef726d384522097b00667498a7096b9fc07e44 # Parent 8bca9dc8c20db70e3cab94d9eeb1f44652835cbe fix: whoops. Forgot to move back to workdir after diff -r 8bca9dc8c20d -r 78ef726d3845 moefetch.sh --- a/moefetch.sh Sat Apr 25 16:06:39 2009 +0000 +++ b/moefetch.sh Sat Apr 25 16:11:06 2009 +0000 @@ -95,7 +95,7 @@ echo "$totalerr file(s) removed" fi echo "`echo \`ls | wc -l\`` file(s) available locally" - cd .. + cd ../temp else if [ $ISQUICK -eq 1 ]; then echo "quick mode selected. Skipping check" @@ -108,8 +108,7 @@ FETCH() { - if [ `wc -l < "$outdir-newlist"` -eq 0 ] - then + if [ `echo \`wc -l < "$outdir-newlist"\`` -eq 0 ]; then echo "No new file" else echo "Starting wget"