From 039908428661412ee482d64abaa0823ec3e68630 Mon Sep 17 00:00:00 2001 From: Emilio Pozuelo Monfort Date: Wed, 9 Feb 2022 10:42:55 +0100 Subject: gen-DSA: don't set extracvefile to "null" ...if the file config key doesn't exist, otherwise git commit will fail. --- bin/gen-DSA | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/gen-DSA b/bin/gen-DSA index a78530466b..346214c2ff 100755 --- a/bin/gen-DSA +++ b/bin/gen-DSA @@ -415,7 +415,7 @@ EOF if [ "$IDMODE" = "DLA" ] || [ "$IDMODE" = "ELA" ]; then idmode=$(echo "$IDMODE" | tr A-Z a-z) if [ -n "${DISTS}" ]; then - extracvefile=`jq -r ".distributions.${DISTS}.maincvefile" data/config.json` + extracvefile=`jq -r ".distributions.${DISTS}.maincvefile // empty" data/config.json` fi if [ -d .git ]; then echo "Made the following changes:" -- cgit v1.2.3