aboutsummaryrefslogtreecommitdiffstats
path: root/main/alpine-conf/0001-update-conf-fix-quoting-in-subshell.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/alpine-conf/0001-update-conf-fix-quoting-in-subshell.patch')
-rw-r--r--main/alpine-conf/0001-update-conf-fix-quoting-in-subshell.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/main/alpine-conf/0001-update-conf-fix-quoting-in-subshell.patch b/main/alpine-conf/0001-update-conf-fix-quoting-in-subshell.patch
new file mode 100644
index 0000000000..52775b7bc0
--- /dev/null
+++ b/main/alpine-conf/0001-update-conf-fix-quoting-in-subshell.patch
@@ -0,0 +1,25 @@
+From d58ab5e7e511f55b08f34683bd6978fb35f5b76a Mon Sep 17 00:00:00 2001
+From: Natanael Copa <ncopa@alpinelinux.org>
+Date: Wed, 21 Dec 2016 13:17:08 +0000
+Subject: [PATCH] update-conf: fix quoting in subshell
+
+---
+ update-conf.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/update-conf.in b/update-conf.in
+index fd03afa..b59151d 100644
+--- a/update-conf.in
++++ b/update-conf.in
+@@ -26,7 +26,7 @@ usage() {
+
+ is_modified() {
+ [ -f "$LBUCACHE" ] || lbu status -a | awk '{print $2}' > "$LBUCACHE"
+- test -n "$( ( echo \"$1\" ; cat \"$LBUCACHE\" ) | sort | uniq -d)"
++ test -n "$( ( echo "$1" ; cat "$LBUCACHE" ) | sort | uniq -d)"
+ }
+
+
+--
+2.11.0
+