diff options
author | Emilio Pozuelo Monfort <pochu@debian.org> | 2022-02-09 10:42:55 +0100 |
---|---|---|
committer | Emilio Pozuelo Monfort <pochu@debian.org> | 2022-02-09 10:42:55 +0100 |
commit | 629c75b335bae9023beea38e7d58f56b7f5ef4f3 (patch) | |
tree | 7161bf59f44cde7c29623371b4e7b89d59037583 /bin/gen-DSA | |
parent | d844feff265edf32a4ad8daf9028da305a870b80 (diff) |
gen-DSA: don't set extracvefile to "null"
...if the file config key doesn't exist, otherwise git commit
will fail.
Diffstat (limited to 'bin/gen-DSA')
-rwxr-xr-x | bin/gen-DSA | 2 |
1 files changed, 1 insertions, 1 deletions
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:" |