Blame 0032-url-lib-url-lib.sh-remove-bashisms.patch

Harald Hoyer fe31f8
From 918a6874df070f538b126ec639b877d5206a52fa Mon Sep 17 00:00:00 2001
Harald Hoyer fe31f8
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer fe31f8
Date: Mon, 11 Feb 2013 13:55:44 +0100
Harald Hoyer fe31f8
Subject: [PATCH] url-lib/url-lib.sh: remove bashisms
Harald Hoyer fe31f8
Harald Hoyer fe31f8
---
Harald Hoyer fe31f8
 modules.d/45url-lib/url-lib.sh | 2 +-
Harald Hoyer fe31f8
 1 file changed, 1 insertion(+), 1 deletion(-)
Harald Hoyer fe31f8
Harald Hoyer fe31f8
diff --git a/modules.d/45url-lib/url-lib.sh b/modules.d/45url-lib/url-lib.sh
Harald Hoyer fe31f8
index 403b754..72c865f 100755
Harald Hoyer fe31f8
--- a/modules.d/45url-lib/url-lib.sh
Harald Hoyer fe31f8
+++ b/modules.d/45url-lib/url-lib.sh
Harald Hoyer fe31f8
@@ -55,7 +55,7 @@ add_url_handler() {
Harald Hoyer fe31f8
 export CURL_HOME="/run/initramfs/url-lib"
Harald Hoyer fe31f8
 mkdir -p $CURL_HOME
Harald Hoyer fe31f8
 curl_args="--location --retry 3 --fail --show-error"
Harald Hoyer fe31f8
-getargbool 0 rd.noverifyssl && curl_args+=" --insecure"
Harald Hoyer fe31f8
+getargbool 0 rd.noverifyssl && curl_args="$curl_args --insecure"
Harald Hoyer fe31f8
 
Harald Hoyer fe31f8
 curl_fetch_url() {
Harald Hoyer fe31f8
     local url="$1" outloc="$2"