diff options
author | Samuel Thibault <sthibault@debian.org> | 2012-12-27 15:14:13 +0100 |
---|---|---|
committer | Samuel Thibault <sthibault@debian.org> | 2012-12-27 15:14:13 +0100 |
commit | c7f32c0676e1238f0ba93a91e61419f309ecb51b (patch) | |
tree | 57001d95c3fec5d660365cd1abf38b8a951a1ba5 /functions | |
parent | 3cda35e94edbe3dda009540a1761e1ac92bb9b94 (diff) | |
download | debootstrap-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-- | functions | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1300,7 +1300,7 @@ check_sane_mount () { esac cat > "$1/test-exec" <<EOF -#! `which sh` +#! `type sh` : EOF chmod +x "$1/test-exec" |