Blame 0015-url-lib-url-lib.sh-turn-off-curl-globbing.patch

Harald Hoyer fe31f8
From 7fa3b9e376ce878fd6c5a3b53470f7e55e0be895 Mon Sep 17 00:00:00 2001
Harald Hoyer fe31f8
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer fe31f8
Date: Fri, 8 Feb 2013 11:44:23 +0100
Harald Hoyer fe31f8
Subject: [PATCH] url-lib/url-lib.sh: turn off curl globbing
Harald Hoyer fe31f8
Harald Hoyer fe31f8
https://bugzilla.redhat.com/show_bug.cgi?id=907497
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 034a7cd..403b754 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
@@ -61,7 +61,7 @@ curl_fetch_url() {
Harald Hoyer fe31f8
     local url="$1" outloc="$2"
Harald Hoyer fe31f8
     echo "$url" > /proc/self/fd/0
Harald Hoyer fe31f8
     if [ -n "$outloc" ]; then
Harald Hoyer fe31f8
-        curl $curl_args --output "$outloc" "$url" || return $?
Harald Hoyer fe31f8
+        curl --globoff $curl_args --output "$outloc" "$url" || return $?
Harald Hoyer fe31f8
     else
Harald Hoyer fe31f8
         local outdir="$(mkuniqdir /tmp curl_fetch_url)"
Harald Hoyer fe31f8
         ( cd "$outdir"; curl $curl_args --remote-name "$url" || return $? )