aboutsummaryrefslogtreecommitdiff
path: root/netqiv
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-01-15 17:38:35 -0500
committerB. Watson <yalhcru@gmail.com>2022-01-15 17:38:35 -0500
commit7b0b56c33ebb179cf41493a177b5eb83fd78ec8f (patch)
treeb965838d50a1aa11f9fe28799ef7b4165a1ac36f /netqiv
parent37e35514734ff853b6c6f00a7c9209a9370155bd (diff)
downloadmisc-scripts-7b0b56c33ebb179cf41493a177b5eb83fd78ec8f.tar.gz
netqiv: fix silliness
Diffstat (limited to 'netqiv')
-rwxr-xr-xnetqiv6
1 files changed, 4 insertions, 2 deletions
diff --git a/netqiv b/netqiv
index c5bea0f..5a728ef 100755
--- a/netqiv
+++ b/netqiv
@@ -3,5 +3,7 @@
set -e
mkdir -p ~/.netqiv
cd ~/.netqiv
-wget "$1"
-qiv "$@" "$( basename "$1" )"
+f="$( basename "$1" )"
+wget -O"$f" "$1"
+shift
+qiv "$@" "$f"