Browse Source

update setup.sh

pull/1/head
10sr 10 years ago
parent
commit
4ec58545c3
1 changed files with 8 additions and 2 deletions
  1. +8
    -2
      setup.sh

+ 8
- 2
setup.sh View File

@@ -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


Loading…
Cancel
Save