Welcome to mirror list, hosted at ThFree Co, Russian Federation.

which-uses-default-path « which « testsuite - git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f612aeb54508993a696863d138f9542f046bdefd (plain)
1
2
3
4
5
6
7
BUSYBOX=$(type -p busybox)
SAVED_PATH=$PATH
unset PATH
$BUSYBOX which ls
STATUS=$?
export PATH=$SAVED_PATH
return $STATUS