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
commit540f56f83abfc4568c169464b3c5ebd852432803 (patch)
treee71a8c4ccd79f1ae2b44ba1b43ded2977affba76 /bin
parent909eab9112ea3ef90ebd0e4693cc4484309a83f9 (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