fix setup of runshell wrapper wrapper

This commit is contained in:
Joey Hess 2013-05-03 13:17:01 -04:00
parent 467dab0472
commit 063e344cbd

View file

@ -49,9 +49,9 @@ buildtree () {
$cmd mkdir -p "$base/templates"
$cmd mkdir -p "$base/tmp"
echo "#!/system/bin/sh" > "$base/runshell"
echo "exec $base/lib/lib.start.so" >> "$base/runshell"
chmod 755 runshell
$cmd echo "#!/system/bin/sh" > "$base/runshell"
$cmd echo "exec $base/lib/lib.start.so" >> "$base/runshell"
$cmd chmod 755 runshell
$cmd cat "$base/lib/lib.version.so" > "$base/installed-version"
$cmd echo "Installation complete"