aboutsummaryrefslogtreecommitdiffstats
path: root/main/alpine-conf/0001-update-conf-fix-quoting-in-subshell.patch
blob: 52775b7bc0a2f52cf29b9f1326469320277a8208 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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