--- trunk/installer-simple/bin/installer.sh.in 2014/01/03 15:01:06 2344 +++ trunk/installer-simple/bin/installer.sh.in 2014/01/03 15:02:43 2345 @@ -180,7 +180,7 @@ local i local hwtmp - if [ -x $(which mktemp &> /dev/null) ] + if [ -x $(type -P mktemp) ] then hwtmp="$(mktemp)" else @@ -831,7 +831,7 @@ is_uuid_supported() { - if [[ -x $(which busybox.mkinitrd &> /dev/null) ]] + if [[ -x $(type -P busybox.mkinitrd) ]] then # only detect uuids if supported if [[ ! -z $(busybox.mkinitrd | grep blkid) ]]