From 8882f19ab30bd4c5b33e6063852692272c4a63e1 Mon Sep 17 00:00:00 2001 From: Patrick Stadler Date: Fri, 12 Jun 2015 16:14:38 +0200 Subject: [PATCH] fix is_linux() helper function --- lib/utils/os.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/utils/os.sh b/lib/utils/os.sh index d024ef7..90f02c5 100644 --- a/lib/utils/os.sh +++ b/lib/utils/os.sh @@ -15,7 +15,7 @@ esac) is_solaris () { [ $OS_TYPE = 'solaris' ]; } is_osx () { [ $OS_TYPE = 'osx' ]; } -is_linux () { [ $OS_TYPE = 'solaris' ]; } +is_linux () { [ $OS_TYPE = 'linux' ]; } is_bsd () { [ $OS_TYPE = 'bsd']; } is_unknown () { [ $OS_TYPE = 'unknown' ]; } @@ -28,4 +28,4 @@ else make_temp_dir () { mktemp -d } -fi \ No newline at end of file +fi