Change packager project root path so RNTester can start

Summary:
A quick fix to ensure RNTest works. This PR changes the process root for where packager is run, resulting in the right `cwd` directory path when RN launches RNTester.
Closes https://github.com/facebook/react-native/pull/13947

Differential Revision: D5052093

Pulled By: davidaurelio

fbshipit-source-id: 506a8cd63f1709c948bcc4586467020d380ba85e
This commit is contained in:
Dominic Gannaway 2017-05-12 08:53:55 -07:00 коммит произвёл Facebook Github Bot
Родитель 7210a060e6
Коммит 56e44a7fdd
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -12,8 +12,8 @@ echo -en "\033]0;React Packager\a"
clear clear
THIS_DIR=$(dirname "$0") THIS_DIR=$(dirname "$0")
pushd "$THIS_DIR" pushd "$THIS_DIR/.."
source ./packager.sh source packager/packager.sh
popd popd
echo "Process terminated. Press <enter> to close the window" echo "Process terminated. Press <enter> to close the window"