]> git.sev.monster Git - dotfiles.git/commitdiff
fix ostype
authords6 <git@ds6.pw>
Fri, 13 Apr 2018 01:24:27 +0000 (20:24 -0500)
committerds6 <git@ds6.pw>
Fri, 13 Apr 2018 01:24:27 +0000 (20:24 -0500)
install.sh

index 5f2c3d4f0f2052693555da277d1e3d5ec06784d2..6e772915f673de59ec93d7c1ae3d223d555cf0b5 100755 (executable)
@@ -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() {
This page took 0.037663 seconds and 4 git commands to generate.