]> arthur.barton.de Git - ax-make.git/commitdiff
axify: Correctly test if the README.md file already exists master
authorAlexander Barton <alex@barton.de>
Fri, 30 Jun 2023 12:08:09 +0000 (14:08 +0200)
committerAlexander Barton <alex@barton.de>
Fri, 30 Jun 2023 12:08:09 +0000 (14:08 +0200)
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"