summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <pochu@debian.org>2022-02-09 10:42:55 +0100
committerEmilio Pozuelo Monfort <pochu@debian.org>2022-02-09 10:42:55 +0100
commit039908428661412ee482d64abaa0823ec3e68630 (patch)
treee7e161765992c0e48af73a6f7ad1d80779c582bc /bin
parent738a4d0635ed385a8c4b4dbf9b79ea42139a67dc (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')
-rwxr-xr-xbin/gen-DSA2
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:"

© 2014-2024 Faster IT GmbH | imprint | privacy policy