diff options
author | Michael Tokarev | 2013-11-10 22:01:38 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer | 2013-11-10 22:06:06 +0100 |
commit | afa63b2dcdc9b9d0183ffd84599ea5d4ad94d639 (patch) | |
tree | af1b15bd42d42ee5be891983d86532e6e41c7ab8 /testsuite/which | |
parent | 5e63776212f8fab4fba08ab2b99dd5241f0c3880 (diff) | |
download | busybox-afa63b2dcdc9b9d0183ffd84599ea5d4ad94d639.zip busybox-afa63b2dcdc9b9d0183ffd84599ea5d4ad94d639.tar.gz |
fix bashisms in testsuite/
These places use ${var/search/replace}, $((n++) and
`type -p' constructs which are not-so-standard.
Replace with equivalent constructs.
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'testsuite/which')
-rw-r--r-- | testsuite/which/which-uses-default-path | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/which/which-uses-default-path b/testsuite/which/which-uses-default-path index 63ceb9f..349583d 100644 --- a/testsuite/which/which-uses-default-path +++ b/testsuite/which/which-uses-default-path @@ -1,4 +1,4 @@ -BUSYBOX=$(type -p busybox) +BUSYBOX=$(command -pv busybox) SAVED_PATH=$PATH unset PATH $BUSYBOX which ls |