diff options
author | B. Watson <yalhcru@gmail.com> | 2018-09-22 21:12:35 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2018-09-22 21:12:35 -0400 |
commit | 1ca6c7902e03ec8d5cc7b39ffba57bd1560eabae (patch) | |
tree | 750a690f0d9f1bf401b8cb7ecd4087b54623a19e /sbodl | |
parent | 0693dcb548569f118d1d7eefdf2874ef56334eb2 (diff) | |
download | sbostuff-1ca6c7902e03ec8d5cc7b39ffba57bd1560eabae.tar.gz |
argh
Diffstat (limited to 'sbodl')
-rwxr-xr-x | sbodl | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -90,7 +90,7 @@ for dl in $DL; do else wget $WGETARGS $EXTRAWGETARGS "$dl" || die "Download failed" if [ -e "$FILE" ]; then - mv "$FILE" "$CACHEDIR" + mv -b "$FILE" "$CACHEDIR" ln -s "$CACHEDIR/$FILE" "$FILE" fi fi @@ -105,6 +105,5 @@ for dl in $DL; do else echo "WARN: can't find downloaded file $FILE" fi - echo shift done |