Matt Kraai | a3181dd | 2002-01-14 18:30:10 +0000 | [diff] [blame] | 1 | BUSYBOX=$(type -p busybox) |
Matt Kraai | a3181dd | 2002-01-14 18:30:10 +0000 | [diff] [blame] | 2 | SAVED_PATH=$PATH |
3 | unset PATH | ||||
4 | $BUSYBOX which ls | ||||
5 | STATUS=$? | ||||
6 | export PATH=$SAVED_PATH | ||||
7 | return $STATUS |