aboutsummaryrefslogtreecommitdiff
path: root/dm
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2012-05-06 11:17:32 -0400
committerRyan Kavanagh <rak@debian.org>2012-05-06 11:18:42 -0400
commit83d262d1c28a7e774bb5cde528141786ab7caeeb (patch)
tree1b4d879e255c688428438f7ebf728d6511a8d472 /dm
parentAdded toggle for disabling GPG decryption of sensitive files (diff)
Fix bug in GPG disable
Diffstat (limited to 'dm')
-rwxr-xr-xdm4
1 files changed, 2 insertions, 2 deletions
diff --git a/dm b/dm
index aed8588..fbb931c 100755
--- a/dm
+++ b/dm
@@ -70,7 +70,7 @@ get-sed-args = $(foreach var,$($(1)),-e 's|$(var)|$(call get-val,$(var))|g')
CURRENT_BRANCH = $(shell git branch --no-color | colrm 1 2)
SHA256 = $(call get-val,SHA256)
-GPG_DISABLED = $(CALL get-val,GPG_DISABLED)
+GPG_DISABLED = $(call get-val,GPG_DISABLED)
VARS_.devscripts = MSMTP_PATH
VARS_.gitconfig = MSMTP_PATH
@@ -110,7 +110,7 @@ FORCE:
# $(patsubst gpg/,,$(wildcard gpg/.* gpg/*))
$(GPG_FILES):
touch $@ && chmod 600 $@
- [ $(GPG_DISABLED) = "True" ] || gpg --decrypt gpg/$@.gpg > $@
+ [ "$(GPG_DISABLED)" = "True" ] || gpg --decrypt gpg/$@.gpg > $@
build/%: % $(SUBSTS_FILE)
[ -d $(dir $@) ] || mkdir -p $(dir $@)