Browse files

Installer: Remove function keyword, since it causes problems

  • Loading branch information...
1 parent 3aa5a87 commit da5a64c2e0312e11df5608bd11854d0c5b8ddc10 @sindresorhus sindresorhus committed Sep 5, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 setup/install.sh
View
4 setup/install.sh
@@ -11,7 +11,7 @@ LINUX=0
MAC=0
PKGMGR=0
-function haveProg() {
+haveProg() {
[ -x "$(which $1)" ]
}
@@ -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."

0 comments on commit da5a64c

Please sign in to comment.