Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
busybox
/
a3181dd833970b1aa99087c3e3647387116547f0
/
.
/
testsuite
/
which
/
which-uses-default-path
blob: e2a2f389355694179cb535a7efa9c24389dc022b [
file
] [
log
] [
blame
]
BUSYBOX
=
$
(
type
-
p busybox
)
echo $BUSYBOX
SAVED_PATH
=
$PATH
unset PATH
$BUSYBOX which ls
STATUS
=
$
?
export
PATH
=
$SAVED_PATH
return
$STATUS