diff options
author | Marc Cornellà <marc.cornella@live.com> | 2019-11-21 19:10:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-21 19:10:30 +0100 |
commit | 3cc1fa40466ea5cee134e6e780786f4fba7eef4f (patch) | |
tree | 8d7b1a3a44032606b6df2df867b1abfc519f055b /tools | |
parent | 1c98b9cc38d34647f1d6357919a0f4e1d5ebd4cd (diff) | |
download | zsh-3cc1fa40466ea5cee134e6e780786f4fba7eef4f.tar.gz zsh-3cc1fa40466ea5cee134e6e780786f4fba7eef4f.tar.bz2 zsh-3cc1fa40466ea5cee134e6e780786f4fba7eef4f.zip |
Fix non-POSIX conditional syntax
Fixes #8416
Diffstat (limited to 'tools')
-rw-r--r-- | tools/upgrade.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/upgrade.sh b/tools/upgrade.sh index 55768cd6e..3005e6542 100644 --- a/tools/upgrade.sh +++ b/tools/upgrade.sh @@ -33,7 +33,7 @@ git config receive.fsck.zeroPaddedFilemode ignore # Update upstream remote to ohmyzsh org remote=$(git remote -v | awk '/https:\/\/github\.com\/robbyrussell\/oh-my-zsh\.git/{ print $1; exit }') -if [[ -n "$remote" ]]; then +if [ -n "$remote" ]; then git remote set-url "$remote" "https://github.com/ohmyzsh/ohmyzsh.git" fi |