aboutsummaryrefslogtreecommitdiff
path: root/git-shell-commands/new-repo
diff options
context:
space:
mode:
authorTrey Bastian <hello@treybastian.com>2025-10-30 12:23:12 +0000
committerTrey Bastian <hello@treybastian.com>2025-10-30 12:23:12 +0000
commit5a4d92b4cfe00633481a23e708b73201c27ac673 (patch)
treeccbda9d5ef70b35bfb6bf9af659378aa304ddd23 /git-shell-commands/new-repo
parentf66d64468e7c143c11e4ed78961a5fbf07748292 (diff)
n00b mistake -- VAR= not $VAR=
Diffstat (limited to 'git-shell-commands/new-repo')
-rwxr-xr-xgit-shell-commands/new-repo2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-shell-commands/new-repo b/git-shell-commands/new-repo
index fa0b26b..52bd69f 100755
--- a/git-shell-commands/new-repo
+++ b/git-shell-commands/new-repo
@@ -10,7 +10,7 @@ echo "oh look you are starting a project you won't finish again."
echo "What is your projects name?"
read PROJECT_NAME
if [[ $PROJECT_NAME!=*.git ]]; then
- $PROJECT_NAME="${PROJECT_NAME}.git"
+ PROJECT_NAME="${PROJECT_NAME}.git"
fi
echo "What's the mirror repo remote url?(leave blank if private)"
read REMOTE_URL