summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2016-03-18 16:22:12 +0100
committerLeif Johansson <leifj@sunet.se>2016-03-18 16:22:12 +0100
commit80100f59a2fb73d9788de6cff0fadd40eeee13ac (patch)
tree89e38ee9dc3f28ae12474cc46fddffbe9d3a2399 /Makefile
parent6575df0dfb2039f23c712cf697466e5f54f138ad (diff)
keep the warning to a minimum
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index dc2de595..c102d11f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
KEY=/opt/swamid-credentials/swamid-signer.key
CERT=/opt/swamid-credentials/swamid-signer.crt
-PASS=$(shell cat /opt/swamid-credentials/swamid-signer-pass.txt)
+PASS=$(shell test -f /opt/swamid-credentials/swamid-signer-pass.txt && cat /opt/swamid-credentials/swamid-signer-pass.txt)
DEST=/opt/published-metadata
SRCDIRS=swamid-2.0