Respect shebang inside shell scripts

This commit is contained in:
Scott Kyle 2016-01-27 12:34:24 -08:00
parent 6c3835f6b7
commit 687307ccfa
1 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ PACKAGER_OUT="packager_out.txt"
function start_packager()
{
rm -f $PACKAGER_OUT
sh ./node_modules/react-native/packager/packager.sh | tee $PACKAGER_OUT &
./node_modules/react-native/packager/packager.sh | tee $PACKAGER_OUT &
while :;
do
if grep -Fxq "React packager ready." $PACKAGER_OUT
@ -87,7 +87,7 @@ elif [ "$TARGET" = "react-tests-android" ]; then
npm install
start_packager
unlock_device
sh run-android.sh
./run-android.sh
LOGCAT_OUT="logcat_out.txt"
rm -f $LOGCAT_OUT