From b24b3b113aa0661726c2b7ecfc19ef8e3fea16b9 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Mon, 24 Jul 2017 15:39:30 +0100 Subject: Use in_path to handle --extractor too --- debootstrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debootstrap b/debootstrap index 4658e0f..fcdb20f 100755 --- a/debootstrap +++ b/debootstrap @@ -231,7 +231,7 @@ if [ $# != 0 ] ; then error 1 NEEDARG "option requires an argument %s" "$1" fi if valid_extractor "$EXTRACTOR_OVERRIDE"; then - if ! type "$EXTRACTOR_OVERRIDE" >/dev/null 2>&1; then + if ! in_path "$EXTRACTOR_OVERRIDE"; then error 1 MISSINGEXTRACTOR "The selected extractor cannot be found: %s" "$EXTRACTOR_OVERRIDE" fi else -- cgit v0.12