Commit 18940972 authored by Seblu's avatar Seblu
Browse files

PATH search is done by type -P not -p

parent ae9e3c2c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -46,13 +46,13 @@ touch "$SNAP"
ln -snf "$SNAPR" "$LAST"

# update package list
if type -p arm-link &>/dev/null; then
if type -P arm-link &>/dev/null; then
  arm-link "$LAST/" >/dev/null
fi

# use hardlink to optimize space usage
# currently disabled because hardlink segfault
#if type -p hardlink &>/dev/null; then
#if type -P hardlink &>/dev/null; then
#  hardlink "$ARMBASE" >/dev/null || true
#fi