From 19a563c2cb7b870a4e5ed5fba14906085073841e Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Fri, 30 Jun 2023 14:08:09 +0200 Subject: [PATCH] axify: Correctly test if the README.md file already exists --- scripts/axify | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/axify b/scripts/axify index 26ce496..99bfadd 100755 --- a/scripts/axify +++ b/scripts/axify @@ -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" -- 2.39.2