diff options
author | Emilio Pozuelo Monfort <pochu@debian.org> | 2020-08-31 14:09:50 +0200 |
---|---|---|
committer | Emilio Pozuelo Monfort <pochu@debian.org> | 2020-08-31 14:09:50 +0200 |
commit | 3d2fc7afc71af5372156e0e90ff331970b028ec6 (patch) | |
tree | ad104318d01ba79ad9644aada82b652daa16801a /bin | |
parent | 1eb54ef2aef20bbee33840c0c703c865f16fb8cf (diff) |
gen-DSA: require DEBFULLNAME env variable
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/gen-DSA | 4 |
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")" |