From 358357db1e15be923ca1e814816a3f765d1403a2 Mon Sep 17 00:00:00 2001 From: Sahal Ansari Date: Mon, 31 Mar 2014 07:43:37 +0000 Subject: [PATCH] -z instead of -e for non-files --- debian/dch-generate.sh | 5 ++--- 1 file 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