Android hints: set targetsh to /system/bin/sh
authorJess Robinson <castaway@desert-island.me.uk>
Thu, 31 Jan 2013 14:15:17 +0000 (14:15 +0000)
committerBrian Fraser <fraserbn@gmail.com>
Sun, 26 Jan 2014 17:44:19 +0000 (14:44 -0300)
commitbbbf0767314ad86932380126374b4aba250945ce
tree43b889c9fbaf6edf156c474064c43d2b32bde32c
parent9b0f5f8a83f83c42f4d8568a7d535097cd88775c
Android hints: set targetsh to /system/bin/sh

Android, for reasons best known to itself, doesn't have a "/bin/sh" it
has a "/system/bin/sh".  We need to run "/bin/sh" as $sh inside
./Configure on the host, but store a different path for use on the
actual Android system (eg by backticks, system etc, in SH_PATH).

The new variable is "targetsh" and defaults to "sh" unless changed by the hints file/Configure params.
hints/linux-android.sh