summaryrefslogtreecommitdiff
path: root/tools/upgrade.sh
diff options
context:
space:
mode:
authorTuowen Zhao <ztuowen@gmail.com>2019-12-04 18:47:31 -0700
committerTuowen Zhao <ztuowen@gmail.com>2019-12-04 18:47:31 -0700
commit9ea85c9348827954d7886306268b54614eb0b03c (patch)
tree067666d643f2957cced426ffbbce485d08b383fd /tools/upgrade.sh
parent9c851a9b820a70b8d23dee0b51220d009e749cec (diff)
parent903a3e9daa110944a9edc37a5952b4a9ff630b39 (diff)
downloadzsh-9ea85c9348827954d7886306268b54614eb0b03c.tar.gz
zsh-9ea85c9348827954d7886306268b54614eb0b03c.tar.bz2
zsh-9ea85c9348827954d7886306268b54614eb0b03c.zip
Merge branch 'master' of https://github.com/ohmyzsh/ohmyzsh
Diffstat (limited to 'tools/upgrade.sh')
-rw-r--r--tools/upgrade.sh2
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