Permalink
Browse files

use cd instead of pushd

  • Loading branch information...
ddollar committed Jan 20, 2012
1 parent 5e57ff2 commit 04ba7d092a1f4ca1dabae20a645db2447fc8fe57
Showing with 3 additions and 3 deletions.
  1. +3 −3 support/package_nodejs
View
@@ -30,14 +30,14 @@ basedir="$( cd -P "$( dirname "$0" )" && pwd )"
tempdir="$( mktemp -t node_XXXX )"
rm -rf $tempdir
mkdir -p $tempdir
pushd $tempdir
cd $tempdir
# download and extract node
curl http://nodejs.org/dist/v${node_version}/node-v${node_version}.tar.gz -o node.tgz
tar xzvf node.tgz
# go into node dir
pushd node-v${node_version}
cd node-v${node_version}
# build and package nodejs for heroku
vulcan build -v -o $tempdir/node-${node_version}.tgz
@@ -47,7 +47,7 @@ $basedir/aws/s3 put $S3_BUCKET \
nodejs-${node_version}.tgz $tempdir/node-${node_version}.tgz
# go into scons
pushd tools/scons
cd tools/scons
# package scons
scons_version=$(ls | grep "scons-local" | cut -d- -f3)

0 comments on commit 04ba7d0

Please sign in to comment.