aboutsummaryrefslogtreecommitdiff
path: root/sbodl
diff options
context:
space:
mode:
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