Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
heroku-buildpack-python
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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-python
Commits
f072b730
Commit
f072b730
authored
May 10, 2018
by
Ian Stapleton Cordasco
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix-up SC2219 errors in our shell scripts
Caught these with the re-added shellcheck linting.
parent
f174d03f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
compile
bin/compile
+5
-5
No files found.
bin/compile
View file @
f072b730
...
...
@@ -221,7 +221,7 @@ fi
# Download / Install Python, from pre-build binaries available on Amazon S3.
# This step also bootstraps pip / setuptools.
let
start
=
$(
nowms
)
((
start
=
$(
nowms
)
)
)
# shellcheck source=bin/steps/python
source
"
$BIN_DIR
/steps/python"
mtime
"python.install.time"
"
${
start
}
"
...
...
@@ -233,7 +233,7 @@ source "$BIN_DIR/steps/pipenv"
# Uninstall removed dependencies with Pip.
# The buildpack will automatically remove any declared dependencies (in requirements.txt)
# that were explicitly removed. This machinery is a bit complex, but it is not complicated.
let
start
=
$(
nowms
)
((
start
=
$(
nowms
)
)
)
# shellcheck source=bin/steps/pip-uninstall
source
"
$BIN_DIR
/steps/pip-uninstall"
mtime
"pip.uninstall.time"
"
${
start
}
"
...
...
@@ -277,7 +277,7 @@ source "$BIN_DIR/steps/gdal"
# -----------
# Install dependencies with pip (where the magic happens).
let
start
=
$(
nowms
)
((
start
=
$(
nowms
)
)
)
# shellcheck source=bin/steps/pip-install
source
"
$BIN_DIR
/steps/pip-install"
mtime
"pip.install.time"
"
${
start
}
"
...
...
@@ -286,7 +286,7 @@ mtime "pip.install.time" "${start}"
# Note: this may only work on Python 2.7. I don't think many customers use this functionality,
# and it should probably be undocumented.
# (there's an import error on 3.6 that should hopefully be fixed upstream at some point)
let
start
=
$(
nowms
)
((
start
=
$(
nowms
)
)
)
sub_env
"
$BIN_DIR
/steps/nltk"
mtime
"nltk.download.time"
"
${
start
}
"
...
...
@@ -304,7 +304,7 @@ fi
# This is the cause for the majority of build failures on the Python platform.
# These failures are intentional — if collectstatic (which can be tricky, at times) fails,
# your build fails.
let
start
=
$(
nowms
)
((
start
=
$(
nowms
)
)
)
sub_env
"
$BIN_DIR
/steps/collectstatic"
mtime
"collectstatic.time"
"
${
start
}
"
...
...
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