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