diff options
author | Sahal Ansari <github@sahal.info> | 2014-03-31 11:43:37 +0400 |
---|---|---|
committer | Sahal Ansari <github@sahal.info> | 2014-03-31 11:43:37 +0400 |
commit | 358357db1e15be923ca1e814816a3f765d1403a2 (patch) | |
tree | 66ca0234155658062d3a8b976e163c9ed378d70b /debian | |
parent | 8508f7c5943b4ef2265504117de6610bc8aa5541 (diff) |
-z instead of -e for non-files
Diffstat (limited to 'debian')
-rwxr-xr-x | debian/dch-generate.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/debian/dch-generate.sh b/debian/dch-generate.sh index 124552c9..f86cbaa4 100755 --- a/debian/dch-generate.sh +++ b/debian/dch-generate.sh @@ -20,10 +20,10 @@ tzone="+09:00" entry="* See: http://www.softether.org/5-download/history" # are you a debian maintainer? -if [ ! -e "$DEBFULLNAME" ]; then +if [ -z "$DEBFULLNAME" ]; then DEBFULLNAME="John Q. Sample" fi -if [ ! -e "$DEBEMAIL" ]; then +if [ -z "$DEBEMAIL" ]; then DEBEMAIL="tamade@example.org" fi @@ -61,6 +61,5 @@ echo echo " ""$entry" echo echo " --"" ""$DEBFULLNAME"" <""$DEBEMAIL""> ""$date" -echo exit 0 |