From a8feb06f050396bda30fa77071476e55fcd9eea1 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Sat, 22 Feb 2014 21:53:06 +0900 Subject: [PATCH] fix typo --- setup.sh | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/setup.sh b/setup.sh index 7c3e8a0..60e9ebb 100755 --- a/setup.sh +++ b/setup.sh @@ -54,15 +54,9 @@ gen_common(){ (FreeBSD*) __isfreebsd=true ;; (Linux*) __islinux=true ;; esac - if $__ismsys || $__iscygwin - then - __iswindows=true - fi + ($__ismsys || $__iscygwin) && __iswindows=true # is this true? - if $__isdarwin || $__freebsd - then - __isbsd=true - fi + ($__isdarwin || $__isfreebsd) && __isbsd=true cat <<__EOC__ >"$__shrc_common" #!/bin/sh