Mercurial > ec-dotfiles
changeset 155:78ef726d3845
fix: whoops. Forgot to move back to workdir after
author | edhoprima |
---|---|
date | Sat, 25 Apr 2009 16:11:06 +0000 |
parents | 8bca9dc8c20d |
children | d3b002fd944e |
files | moefetch.sh |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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"