Blob Blame History Raw
From 918a6874df070f538b126ec639b877d5206a52fa Mon Sep 17 00:00:00 2001
From: Harald Hoyer <harald@redhat.com>
Date: Mon, 11 Feb 2013 13:55:44 +0100
Subject: [PATCH] url-lib/url-lib.sh: remove bashisms

---
 modules.d/45url-lib/url-lib.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules.d/45url-lib/url-lib.sh b/modules.d/45url-lib/url-lib.sh
index 403b754..72c865f 100755
--- a/modules.d/45url-lib/url-lib.sh
+++ b/modules.d/45url-lib/url-lib.sh
@@ -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"