From 9cac75c2f8626f7f3208aad61857b9d9f0732c75 Mon Sep 17 00:00:00 2001 From: Trey Bastian Date: Wed, 8 Apr 2026 17:00:04 +0100 Subject: fixed incorrect regex --- git-shell-commands/new-repo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git-shell-commands/new-repo') diff --git a/git-shell-commands/new-repo b/git-shell-commands/new-repo index 4a32ad4..e85c226 100755 --- a/git-shell-commands/new-repo +++ b/git-shell-commands/new-repo @@ -9,7 +9,7 @@ if [[ -z "$1" ]]; then echo "project name cannot be empty" exit 1 fi -if [[ $PROJECT_NAME!=*.git ]]; then +if [[ $PROJECT_NAME != *.git ]]; then PROJECT_NAME="${PROJECT_NAME}.git" fi -- cgit v1.2.3