summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorSamuel Thibault <sthibault@debian.org>2012-12-27 15:14:13 +0100
committerSamuel Thibault <sthibault@debian.org>2012-12-27 15:14:13 +0100
commitc7f32c0676e1238f0ba93a91e61419f309ecb51b (patch)
tree57001d95c3fec5d660365cd1abf38b8a951a1ba5 /functions
parent3cda35e94edbe3dda009540a1761e1ac92bb9b94 (diff)
downloaddebootstrap-c7f32c0676e1238f0ba93a91e61419f309ecb51b.tar.gz
Find out /bin/sh using `type` instead of `which`,
the latter not being available in d-i.
Diffstat (limited to 'functions')
-rw-r--r--functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions b/functions
index 881231b..682636e 100644
--- a/functions
+++ b/functions
@@ -1300,7 +1300,7 @@ check_sane_mount () {
esac
cat > "$1/test-exec" <<EOF
-#! `which sh`
+#! `type sh`
:
EOF
chmod +x "$1/test-exec"