summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <pochu@debian.org>2020-08-31 14:09:50 +0200
committerEmilio Pozuelo Monfort <pochu@debian.org>2020-08-31 14:09:50 +0200
commit57adbe09c62a8ee12b8ffac57826cad2eaca5cf0 (patch)
tree4e3e6d4a72ed01c2285d2319afe9f7e32b2db7d0 /bin
parentc55a31e19bd995083dbe6d5a763705246bc3a431 (diff)
gen-DSA: require DEBFULLNAME env variable
Diffstat (limited to 'bin')
-rwxr-xr-xbin/gen-DSA4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/gen-DSA b/bin/gen-DSA
index 051cccb0da..5e901436f8 100755
--- a/bin/gen-DSA
+++ b/bin/gen-DSA
@@ -333,6 +333,10 @@ if [ $REFERENCES -gt 1 ]; then
sed -ri 's/this problem has/these problems have/' $tmpf
fi
+if [ -z "$DEBFULLNAME" ]; then
+ "error: DEBFULLNAME env variable required"
+ exit 1
+fi
SPACEDDEBFULLNAME="$(left_space "$DEBFULLNAME" "$NAME_SPACING")"
DATE="$(date +"%B %d, %Y")"

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