From 921597f06485d9e007b893c1d931dd000f600897 Mon Sep 17 00:00:00 2001
From: Ryan Kavanagh <rak@debian.org>
Date: Mon, 6 Feb 2017 11:58:26 -0500
Subject: Allow substitutions of strings containing spaces

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 387ebfa..2f602c7 100755
--- a/Makefile
+++ b/Makefile
@@ -84,7 +84,7 @@ GLOBAL_FILES = \
     .zlogout \
     bin/ \
 
-get-val = $(shell awk '{if (match($$0, /$1/)) { print $$2 } }' $(SUBSTS_FILE))
+get-val = $(shell egrep '^$1' $(SUBSTS_FILE) | cut -f2- -d' ')
 get-sed-args = $(foreach var,$($(1)),-e 's|$(var)|$(call get-val,$(var))|g')
 
 CURRENT_BRANCH = $(shell git branch --no-color | colrm 1 2)
-- 
cgit v1.2.3