# accomodate multiple userlands
fex='-perm -ugo=x'
+lnargs=-sfnv
+if [ -z "$OSTYPE" ]; then
+ OSTYPE=`uname -o | tr '[:upper:]' '[:lower:]'`
+fi
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;;
+ # android busybox find doesn't have -executable
+ android) fex=-executable;;
esac
l() {