Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fixing install.sh to make it sh friendly. #1184

Closed
wants to merge 1 commit into from

4 participants

@daniellockard

This should work, some people complained about how it couldn't find [[ which is a bash built in, so this is for devices that don't use bash (or some subset) as sh.

@grahamc

+1

@Kriechi

This should no longer be an issue in the current master.
Please close this PR, or update it if the problem is still there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 21, 2012
  1. @daniellockard
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  tools/install.sh
View
2  tools/install.sh
@@ -6,7 +6,7 @@ fi
echo "\033[0;34mCloning Oh My Zsh...\033[0m"
which git > /dev/null
-if [[ $? -eq 0 ]]; then
+if [ $? -eq 0 ]; then
/usr/bin/env git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
else
echo "git not installed"
Something went wrong with that request. Please try again.