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() {