aboutsummaryrefslogtreecommitdiff
path: root/sbodl
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-03-09 16:10:30 -0500
committerB. Watson <yalhcru@gmail.com>2021-03-09 16:10:30 -0500
commit34fc30d67c924627ece267616616af9f3773ee6a (patch)
tree03c93ce223cafd44142616f46e69b63794559152 /sbodl
parent38e5312dc2daa78f1efbdecbc1e0737e6405e01f (diff)
downloadsbostuff-34fc30d67c924627ece267616616af9f3773ee6a.tar.gz
sbodl: let user-provided wget args override defaults
Diffstat (limited to 'sbodl')
-rwxr-xr-xsbodl2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbodl b/sbodl
index 3d1e4e0..43eacde 100755
--- a/sbodl
+++ b/sbodl
@@ -96,7 +96,7 @@ for dl in $DL; do
elif [ "$FORCEDL" != "yes" ] && [ -e "$CACHEDIR/$FILE" ]; then
ln -s "$CACHEDIR/$FILE" "$FILE"
else
- wget $WGETARGS $EXTRAWGETARGS "$dl" || die "Download failed"
+ wget $EXTRAWGETARGS $WGETARGS "$dl" || die "Download failed"
if [ -e "$FILE" ]; then
mv -b "$FILE" "$CACHEDIR"
ln -s "$CACHEDIR/$FILE" "$FILE"