summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorShawn Landden <shawnlandden@gmail.com>2012-11-25 10:47:55 +0000
committerJoey Hess <joey@kitenet.net>2012-11-26 12:26:20 -0400
commitf1ccaccce3549353dd61e56a8c000726d6d8faa9 (patch)
treea3b860d89a1ba330335a3354c3d8c3a517c3d1ba /functions
parent394f0443eced0220a5be522d700cfdda5de040ee (diff)
downloaddebootstrap-f1ccaccce3549353dd61e56a8c000726d6d8faa9.tar.gz
functions: check for /bin/sh before using it in shebang (android)
Diffstat (limited to 'functions')
-rw-r--r--functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions b/functions
index b450396..881231b 100644
--- a/functions
+++ b/functions
@@ -1300,7 +1300,7 @@ check_sane_mount () {
esac
cat > "$1/test-exec" <<EOF
-#! /bin/sh
+#! `which sh`
:
EOF
chmod +x "$1/test-exec"