This commit is contained in:
Brian Zalewski 2023-07-09 02:55:17 +00:00
parent 6363d9eb52
commit 9cdc8aa05a
2 changed files with 10 additions and 10 deletions

View file

@ -71,7 +71,7 @@ fi
if [ -z "$START_REPO" ]; then
START_REPO="https://github.com/megabyte-labs/install.doctor.git"
else
if [[ "$START_REPO == *"/"* ]]; then
if [[ "$START_REPO" == *"/"* ]]; then
# Either full git address or GitHubUser/RepoName
if [[ "$START_REPO" == *":"* ]] || [[ "$START_REPO" == *"//"* ]]; then
START_REPO="$START_REPO"

View file

@ -74,7 +74,7 @@ else
if [ -n "$REPO" ] && [ -z "$START_REPO" ]; then
START_REPO="$REPO"
fi
if [[ "$START_REPO == *"/"* ]]; then
if [[ "$START_REPO" == *"/"* ]]; then
# Either full git address or GitHubUser/RepoName
if [[ "$START_REPO" == *":"* ]] || [[ "$START_REPO" == *"//"* ]]; then
START_REPO="$START_REPO"