From 1932d38fee5b96004b30c475d8d7daea708133a1 Mon Sep 17 00:00:00 2001 From: Rob Browning Date: Tue, 5 Nov 2013 16:39:31 -0600 Subject: [PATCH] Use "type -p" instead of "which" in test.sh. Which isn't portable (if I recall correctly), and we know we're in Bash. Signed-off-by: Rob Browning --- t/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/test.sh b/t/test.sh index 98b3ef3..514ef58 100755 --- a/t/test.sh +++ b/t/test.sh @@ -618,7 +618,7 @@ WVPASSEQ "$(bup ls buptest/latest/)" "a/ c/" -if [ "$(which rdiff-backup)" != "" ]; then +if [ "$(type -p rdiff-backup)" != "" ]; then WVSTART "import-rdiff-backup" D=rdiff-backup.tmp export BUP_DIR="$TOP/$D/.bup" -- 2.39.2