From: Alexander Barton Date: Sat, 20 Dec 2014 15:04:20 +0000 (+0100) Subject: axify: Simplify AUTHORS file creation X-Git-Url: https://arthur.ath.cx/gitweb/?a=commitdiff_plain;h=96b0125f43fb58f1dca2efb7d9641ae78c587ee0;p=ax-make.git axify: Simplify AUTHORS file creation --- diff --git a/scripts/axify b/scripts/axify index 56dd9d7..93adf39 100755 --- a/scripts/axify +++ b/scripts/axify @@ -88,16 +88,14 @@ fi # --- Standard project files --- -authors=AUTHORS if [ ! -e AUTHORS ]; then if git --version >/dev/null 2>&1; then echo "Creating \"AUTHORS\" file ..." echo "`git config user.name` <`git config user.email`>" >>AUTHORS - authors= fi fi -for f in $authors COPYING README; do +for f in AUTHORS COPYING README; do if [ ! -e "$f" ]; then echo "Creating empty \"$f\" file ..." touch "$f"