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:
a005c47
)
url-lib/url-lib.sh: remove bashism
author
Harald Hoyer
<harald@redhat.com>
Tue, 19 Feb 2013 15:13:49 +0000
(16:13 +0100)
committer
Harald Hoyer
<harald@redhat.com>
Tue, 19 Feb 2013 15:13:49 +0000
(16:13 +0100)
remove the forgotten bashism "+="
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
1f8218d
..
4a3d56d
100755
(executable)
--- a/
modules.d/45url-lib/url-lib.sh
+++ b/
modules.d/45url-lib/url-lib.sh
@@
-58,7
+58,7
@@
curl_args="--location --retry 3 --fail --show-error"
getargbool 0 rd.noverifyssl && curl_args="$curl_args --insecure"
proxy=$(getarg proxy=)
-[ -n "$proxy" ] && curl_args
+
="$curl_args --proxy $proxy"
+[ -n "$proxy" ] && curl_args="$curl_args --proxy $proxy"
curl_fetch_url() {
local url="$1" outloc="$2"