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
a5230857
Commit
a5230857
authored
Aug 09, 2013
by
zeke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use absolute path for common.sh
parent
741800c6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
common.sh
bin/common.sh
+2
-1
compile
bin/compile
+4
-2
No files found.
support/helpers
.sh
→
bin/common
.sh
View file @
a5230857
#!/usr/bin/env bash
# fail fast
set
-e
...
...
@@ -7,7 +9,6 @@ set -e
function
tar_download
()
{
url
=
"
$1
"
location
=
"
$2
"
mkdir
-p
$location
curl
$url
-s
-o
- |
tar
xzf -
-C
$location
}
...
...
bin/compile
View file @
a5230857
#!/usr/bin/env bash
source
support/helpers.sh
BUILD_DIR
=
$1
CACHE_DIR
=
$2
NODE_VERSION
=
'0.10.15'
BIN_DIR
=
$(
cd
$(
dirname
$0
)
;
pwd
)
# absolute path
NODE_VERSION
=
"0.10.15"
NODE_URL
=
"http://s3pository.heroku.com/node/v
$NODE_VERSION
/node-v
$NODE_VERSION
-linux-x64.tar.gz"
source
$BIN_DIR
/common.sh
status
"Downloading node v
$NODE_VERSION
"
echo
"
$NODE_URL
"
| indent
tar_download
$NODE_URL
...
...
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