projects
/
kaotools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bacaa77
)
* Fixed quoting in kaoget.sh.
author
Urban Wallasch
<urban.wallasch@freenet.de>
Sat, 24 Apr 2021 17:43:48 +0000
(19:43 +0200)
committer
Urban Wallasch
<urban.wallasch@freenet.de>
Sat, 24 Apr 2021 17:43:48 +0000
(19:43 +0200)
kaoget.sh
patch
|
blob
|
history
diff --git
a/kaoget.sh
b/kaoget.sh
index c0f220fa0464c7e94043c358a3d84e003eeb7be1..81476cc82ce26c6f141b520e36a5dd7fe564e62d 100755
(executable)
--- a/
kaoget.sh
+++ b/
kaoget.sh
@@
-100,11
+100,11
@@
case "$URL_FILE" in
;;
* )
# Otherwise, just store the URL verbatim.
- echo "$URL_FILE" >
$TMP_FILE
+ echo "$URL_FILE" >
"$TMP_FILE"
;;
esac
# Either way, use the new file to read download URLs from.
- URL_FILE=
$TMP_FILE
+ URL_FILE=
"$TMP_FILE"
;;
esac
@@
-141,5
+141,5
@@
while read URL; do
mv "$PNAME" "$NAME"
done
-[ -n "$TMP_FILE" ] && rm -f
$TMP_FILE
+[ -n "$TMP_FILE" ] && rm -f
"$TMP_FILE"
exit 0