]> arthur.barton.de Git - ax-make.git/blobdiff - scripts/axify
axify: Correctly test if the README.md file already exists
[ax-make.git] / scripts / axify
index 26ce49660fd886173710f59c70c79f8bf15c3eb0..99bfaddd3c65028ca9fa032f8d000a8e9a40a427 100755 (executable)
@@ -144,7 +144,7 @@ fi
 
 # --- Standard project files ---
 
-if [[ ! -e AUTHORS && -n "$ADD_FILES" ]]; then
+if [[ ! -e "AUTHORS$SUFFIX" && -n "$ADD_FILES" ]]; then
        if git --version >/dev/null 2>&1; then
                echo "Creating \"AUTHORS$SUFFIX\" file ..."
                echo "$(git config user.name) <$(git config user.email)>" >>"AUTHORS$SUFFIX"