axify: Simplify AUTHORS file creation
authorAlexander Barton <alex@barton.de>
Sat, 20 Dec 2014 15:04:20 +0000 (16:04 +0100)
committerAlexander Barton <alex@barton.de>
Sat, 20 Dec 2014 15:04:38 +0000 (16:04 +0100)
scripts/axify

index 56dd9d71514b6e9703f29dc50f56c8024a3e1dd5..93adf396671bffea3568c3e3b1f9f5c75a9498e8 100755 (executable)
@@ -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"