projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39135af
)
url-lib/url-lib.sh: turn off curl globbing
author
Harald Hoyer
<harald@redhat.com>
Fri, 8 Feb 2013 10:44:23 +0000
(11:44 +0100)
committer
Harald Hoyer
<harald@redhat.com>
Fri, 8 Feb 2013 15:52:38 +0000
(16:52 +0100)
https://bugzilla.redhat.com/show_bug.cgi?id=907497
modules.d/45url-lib/url-lib.sh
patch
|
blob
|
history
diff --git
a/modules.d/45url-lib/url-lib.sh
b/modules.d/45url-lib/url-lib.sh
index
034a7cd
..
403b754
100755
(executable)
--- a/
modules.d/45url-lib/url-lib.sh
+++ b/
modules.d/45url-lib/url-lib.sh
@@
-61,7
+61,7
@@
curl_fetch_url() {
local url="$1" outloc="$2"
echo "$url" > /proc/self/fd/0
if [ -n "$outloc" ]; then
- curl $curl_args --output "$outloc" "$url" || return $?
+ curl
--globoff
$curl_args --output "$outloc" "$url" || return $?
else
local outdir="$(mkuniqdir /tmp curl_fetch_url)"
( cd "$outdir"; curl $curl_args --remote-name "$url" || return $? )