Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
3cc1fa40
Unverified
Commit
3cc1fa40
authored
Nov 21, 2019
by
Marc Cornellà
Committed by
GitHub
Nov 21, 2019
Browse files
Fix non-POSIX conditional syntax
Fixes #8416
parent
1c98b9cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/upgrade.sh
View file @
3cc1fa40
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment