From cf41deef9260bd205eb9e478fa4ada62106a2f6b Mon Sep 17 00:00:00 2001 From: Trey Bastian Date: Wed, 8 Apr 2026 16:57:55 +0100 Subject: fixing new-project bugs --- git-shell-commands/new-project | 2 +- git-shell-commands/new-repo | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'git-shell-commands') diff --git a/git-shell-commands/new-project b/git-shell-commands/new-project index 5b9b1aa..568c158 100755 --- a/git-shell-commands/new-project +++ b/git-shell-commands/new-project @@ -26,7 +26,7 @@ if [[ $REPLY =~ ^[Yy]$ ]]; then fi echo "git url: ${USER}@${HOSTNAME}:${PROJECT_NAME}" -if [[ $REPLY =~^[Yy]$ ]]; then +if [[ $REPLY =~ ^[Yy]$ ]]; then echo "public repo: ${REMOTE_BASE_URL}/${PROJECT_NAME}" fi #vim: filetype=bash diff --git a/git-shell-commands/new-repo b/git-shell-commands/new-repo index f6b2dc8..4a32ad4 100755 --- a/git-shell-commands/new-repo +++ b/git-shell-commands/new-repo @@ -4,7 +4,7 @@ # ssh git@ new-repo # - follow the prompts -$PROJECT_NAME = $1 +PROJECT_NAME="$1" if [[ -z "$1" ]]; then echo "project name cannot be empty" exit 1 -- cgit v1.2.3