diff options
author | Ryan Kavanagh <rak@debian.org> | 2012-05-06 11:15:50 -0400 |
---|---|---|
committer | Ryan Kavanagh <rak@debian.org> | 2012-05-06 11:15:50 -0400 |
commit | 89f5fca357934c5967ba1049148b35c3d8c4f10a (patch) | |
tree | 8aa3df2c034bf312c4c00ad2b90e3488afbd7fc7 /dm | |
parent | Added screenlayout for McGill lab (diff) |
Added toggle for disabling GPG decryption of sensitive files
Diffstat (limited to 'dm')
-rwxr-xr-x | dm | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -70,6 +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) VARS_.devscripts = MSMTP_PATH VARS_.gitconfig = MSMTP_PATH @@ -109,7 +110,7 @@ FORCE: # $(patsubst gpg/,,$(wildcard gpg/.* gpg/*)) $(GPG_FILES): touch $@ && chmod 600 $@ - gpg --decrypt gpg/$@.gpg > $@ + [ $(GPG_DISABLED) = "True" ] || gpg --decrypt gpg/$@.gpg > $@ build/%: % $(SUBSTS_FILE) [ -d $(dir $@) ] || mkdir -p $(dir $@) |