]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
url-lib/url-lib.sh: remove bashisms
authorHarald Hoyer <harald@redhat.com>
Mon, 11 Feb 2013 12:55:44 +0000 (13:55 +0100)
committerHarald Hoyer <harald@redhat.com>
Mon, 11 Feb 2013 12:55:44 +0000 (13:55 +0100)
modules.d/45url-lib/url-lib.sh

index 403b75471bce663a926d9a16d3be6d7bb763334c..72c865fba81f70826a4fd2abd5a591c1c6944e9f 100755 (executable)
@@ -55,7 +55,7 @@ add_url_handler() {
 export CURL_HOME="/run/initramfs/url-lib"
 mkdir -p $CURL_HOME
 curl_args="--location --retry 3 --fail --show-error"
-getargbool 0 rd.noverifyssl && curl_args+=" --insecure"
+getargbool 0 rd.noverifyssl && curl_args="$curl_args --insecure"
 
 curl_fetch_url() {
     local url="$1" outloc="$2"