summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMike Morris <michael.patrick.morris@gmail.com>2015-08-26 11:54:31 -0400
committerMike Morris <michael.patrick.morris@gmail.com>2015-08-26 11:54:31 -0400
commite64c26db2aa3225201e0d0c54eb839a1400b2f61 (patch)
treebc475457150ee4fc8d6f7b71f2d3c706559deb16 /scripts
parente27d9cfbf7ec5a3a9817629855ce3a3a0681547a (diff)
downloadqtlocation-mapboxgl-e64c26db2aa3225201e0d0c54eb839a1400b2f61.tar.gz
pushd/popd
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/node/run.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/node/run.sh b/scripts/node/run.sh
index 0316065ef5..118e1ed252 100755
--- a/scripts/node/run.sh
+++ b/scripts/node/run.sh
@@ -15,7 +15,7 @@ mapbox_time "checkout_styles" \
git submodule update --init styles
mapbox_time "compile_program" \
-cd platform/node && npm install --build-from-source
+pushd platform/node && npm install --build-from-source && popd
################################################################################
# Test
@@ -25,7 +25,7 @@ mapbox_time "checkout_test_suite" \
git submodule update --init test/suite
mapbox_time "run_tests" \
-cd platform/node && npm test
+pushd platform/node && npm test && popd
mapbox_time "run_render_tests" \
-cd platform/node && npm run test-suite
+pushd platform/node && npm run test-suite && popd