Index: platform_tools/ios/bin/ios_ninja |
diff --git a/platform_tools/ios/bin/ios_ninja b/platform_tools/ios/bin/ios_ninja |
index ff0a61dc0102ef39769f695f4bdf6048dd1d3bc8..a0f721aec290b03711e297d0b2986af86b75ee26 100755 |
--- a/platform_tools/ios/bin/ios_ninja |
+++ b/platform_tools/ios/bin/ios_ninja |
@@ -14,8 +14,8 @@ set -x -e |
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" |
source $SCRIPT_DIR/ios_setup.sh |
-OLD_DIR=`pwd` |
-cd ${SKIA_SRC_DIR} |
+pushd ${SKIA_SRC_DIR} |
"${SKIA_SRC_DIR}/gyp_skia" |
xcodebuild -project "$SKIA_OUT/gyp/iOSShell.xcodeproj" -configuration "$BUILDTYPE" |
-cd $OLD_DIR |
+popd |
+ios_package_app |