aboutsummaryrefslogtreecommitdiff
path: root/sbodl
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2018-09-22 21:12:35 -0400
committerB. Watson <yalhcru@gmail.com>2018-09-22 21:12:35 -0400
commit1ca6c7902e03ec8d5cc7b39ffba57bd1560eabae (patch)
tree750a690f0d9f1bf401b8cb7ecd4087b54623a19e /sbodl
parent0693dcb548569f118d1d7eefdf2874ef56334eb2 (diff)
downloadsbostuff-1ca6c7902e03ec8d5cc7b39ffba57bd1560eabae.tar.gz
argh
Diffstat (limited to 'sbodl')
-rwxr-xr-xsbodl3
1 files changed, 1 insertions, 2 deletions
diff --git a/sbodl b/sbodl
index 7dd35f4..def7c7e 100755
--- a/sbodl
+++ b/sbodl
@@ -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