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