Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
heroku-buildpack-nodejs
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Python-Dev
heroku-buildpack-nodejs
Commits
04ba7d09
Commit
04ba7d09
authored
Jan 20, 2012
by
David Dollar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use cd instead of pushd
parent
5e57ff2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
package_nodejs
support/package_nodejs
+3
-3
No files found.
support/package_nodejs
View file @
04ba7d09
...
...
@@ -30,14 +30,14 @@ basedir="$( cd -P "$( dirname "$0" )" && pwd )"
tempdir
=
"
$(
mktemp
-t
node_XXXX
)
"
rm
-rf
$tempdir
mkdir
-p
$tempdir
push
d
$tempdir
c
d
$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
push
d
node-v
${
node_version
}
c
d
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
push
d
tools/scons
c
d
tools/scons
# package scons
scons_version
=
$(
ls
|
grep
"scons-local"
|
cut
-d-
-f3
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment