From 72c6733b1903efabd902d8005b9a1e52934b9ea3 Mon Sep 17 00:00:00 2001 From: ds6 Date: Thu, 12 Apr 2018 20:24:27 -0500 Subject: [PATCH] fix ostype --- install.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/install.sh b/install.sh index 5f2c3d4..6e77291 100755 --- a/install.sh +++ b/install.sh @@ -19,14 +19,14 @@ cd - fex='-perm -ugo=x' case "$OSTYPE" in # TODO: make links safer for systems without -Fw - freebsd) lnargs=-sFhvw;; - netbsd|openbsd) lnargs=-sfhv;; - *) lnargs=-sfnv - # android busybox find doesn't have -executable - # and its sh doesn't set OSTYPE :DD - if [ -z "$ANDROID_ROOT" ]; then - fex=-executable - fi;; + freebsd*) lnargs=-sFhvw;; + netbsd*|openbsd*) lnargs=-sfhv;; + *) lnargs=-sfnv + # android busybox find doesn't have -executable + # and its sh doesn't set OSTYPE :DD + if [ -z "$ANDROID_ROOT" ]; then + fex=-executable + fi;; esac l() { -- 2.47.0