diff options
Diffstat (limited to 'git-shell-commands')
| -rwxr-xr-x | git-shell-commands/new-repo | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
