Skip to content

Commit

Permalink
Setting current working directory for dev server.
Browse files Browse the repository at this point in the history
Summary:
* This allows `react-native` to work for users on fedora.
* `react-native run-android` was failing because the launch packager script was unable to find packager.sh (see `source` in `man bash`).
* This change sets cwd for the dev server when run with `run-android`.
Closes facebook/react-native#7316

Differential Revision: D3255866

fb-gh-sync-id: 88f6b18f7c61636ce8fecef77f7f4e60b1d9a637
fbshipit-source-id: 88f6b18f7c61636ce8fecef77f7f4e60b1d9a637
  • Loading branch information
jsdevel authored and Facebook Github Bot 0 committed May 4, 2016
1 parent daa426c commit 4695f84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion launchPackager.command
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ clear

THIS_DIR=$(dirname "$0")
pushd "$THIS_DIR"
source packager.sh
source ./packager.sh
popd

echo "Process terminated. Press <enter> to close the window"
Expand Down

0 comments on commit 4695f84

Please sign in to comment.