Unverified Commit 3cc1fa40 authored by Marc Cornellà's avatar Marc Cornellà Committed by GitHub
Browse files

Fix non-POSIX conditional syntax

Fixes #8416
parent 1c98b9cc
...@@ -33,7 +33,7 @@ git config receive.fsck.zeroPaddedFilemode ignore ...@@ -33,7 +33,7 @@ git config receive.fsck.zeroPaddedFilemode ignore
# Update upstream remote to ohmyzsh org # Update upstream remote to ohmyzsh org
remote=$(git remote -v | awk '/https:\/\/github\.com\/robbyrussell\/oh-my-zsh\.git/{ print $1; exit }') 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" git remote set-url "$remote" "https://github.com/ohmyzsh/ohmyzsh.git"
fi fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment