Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
heroku-buildpack-static
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Python-Dev
heroku-buildpack-static
Commits
2a49e823
Commit
2a49e823
authored
May 11, 2017
by
Terence Lee
Committed by
GitHub
May 11, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #70 from ventureco/make-compile-idempotent
Makes config copying idempotent
parents
644e8e33
7473e9ef
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
compile
bin/compile
+1
-2
No files found.
bin/compile
View file @
2a49e823
...
...
@@ -25,8 +25,7 @@ fetch_nginx_tarball() {
mkdir
-p
$build_dir
/bin
$(
fetch_nginx_tarball
)
|
tar
xzC
$build_dir
/bin
nginx_version
=
$(
$build_dir
/bin/nginx-
$STACK
-V
2>&1 |
head
-1
|
awk
'{ print $NF }'
)
cp
-a
$bp_dir
/scripts/boot
$build_dir
/bin/boot
cp
-a
$bp_dir
/scripts/config
$build_dir
/bin/config
cp
-a
$bp_dir
/scripts/
{
boot,config
}
-t
$build_dir
/bin/
echo
"-----> Installed
${
nginx_version
}
to /app/bin"
mkdir
-p
$build_dir
/config
...
...
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