From 9beeffe3bbe47713f34cad05f9b6735bd71b4c83 Mon Sep 17 00:00:00 2001 From: deajan Date: Sat, 10 Dec 2016 17:56:03 +0100 Subject: [PATCH] Added bootstrap termux-fix-shebang --- dev/bootstrap.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dev/bootstrap.sh b/dev/bootstrap.sh index d595e6a..0c51efa 100755 --- a/dev/bootstrap.sh +++ b/dev/bootstrap.sh @@ -23,5 +23,10 @@ if [ $? != 0 ]; then exit 1 fi +# Termux fix +if type termux-fix-shebang > /dev/null 2>&1; then + termux-fix-shebang "$outputFileName.tmp.sh" +fi + "$outputFileName.tmp.sh" "$@"