Skip to content

Commit

Permalink
Installer: Remove function keyword, since it causes problems
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Sep 5, 2012
1 parent 3aa5a87 commit da5a64c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ LINUX=0
MAC=0
PKGMGR=0

function haveProg() {
haveProg() {
[ -x "$(which $1)" ]
}

Expand Down Expand Up @@ -177,7 +177,7 @@ else
exit 1
fi

function check_or_install_brew_pkg() {
check_or_install_brew_pkg() {
FILELOCATION=$(which $1)
if [ "$FILELOCATION" ]; then
echo "$1 is installed."
Expand Down

0 comments on commit da5a64c

Please sign in to comment.