Escape directory path in packager.sh

Summary:
Previously could not handle directory paths with spaces.
Closes https://github.com/facebook/react-native/pull/5381

Reviewed By: svcscm

Differential Revision: D2839193

Pulled By: javache

fb-gh-sync-id: e95825a602c053761826255ac5254b97fadbe090
This commit is contained in:
Emil Sjölander 2016-01-18 12:41:41 -08:00 committed by facebook-github-bot-7
parent f471be7380
commit 3453a60bf8
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ echo -en "\033]0;React Packager\a"
clear
THIS_DIR=$(dirname "$0")
pushd $THIS_DIR
pushd "$THIS_DIR"
source packager.sh
popd