From: ds6 Date: Fri, 13 Apr 2018 01:24:27 +0000 (-0500) Subject: fix ostype X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/commitdiff_plain/72c6733b1903efabd902d8005b9a1e52934b9ea3?ds=inline;hp=8e78f648ca1193c4a1cc907b0d2c1d43b3e942c5 fix ostype --- 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() {