From 5fa3cf00980ecf04f384c8bd06edc5038102848b Mon Sep 17 00:00:00 2001 From: staticsafe Date: Sat, 16 Jun 2012 14:44:18 -0400 Subject: [PATCH] lets try using some [[]] --- envsetup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/envsetup.sh b/envsetup.sh index af893e9..b08ecbb 100755 --- a/envsetup.sh +++ b/envsetup.sh @@ -30,7 +30,7 @@ distrocheck() { hash port &>/dev/null && userdistro="OSX" # For OSX, make sure the port binary is in your PATH first. hash pkg_add &>/dev/null && userdistro="FreeBSD" # For FreeBSD hash equo &>/dev/null && userdistro="Sabayon" # For Sabayon - hash emerge &>/dev/null && $userdistro != "Sabayon" && userdistro="Gentoo" # For Gentoo + hash emerge &>/dev/null && [[userdistro != "Sabayon"]] && userdistro="Gentoo" # For Gentoo } installpackages() {