From afa63b2dcdc9b9d0183ffd84599ea5d4ad94d639 Mon Sep 17 00:00:00 2001 From: Michael Tokarev Date: Sun, 10 Nov 2013 22:01:38 +0100 Subject: 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 Signed-off-by: Bernhard Reutner-Fischer --- testsuite/which/which-uses-default-path | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuite/which') diff --git a/testsuite/which/which-uses-default-path b/testsuite/which/which-uses-default-path index 63ceb9f8f..349583dcc 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 -- cgit v1.2.3