221
221
222
222
# Download / Install Python, from pre-build binaries available on Amazon S3.
223
223
# This step also bootstraps pip / setuptools.
224
- let start=$( nowms)
224
+ (( start= $(nowms) ) )
225
225
# shellcheck source=bin/steps/python
226
226
source " $BIN_DIR /steps/python"
227
227
mtime " python.install.time" " ${start} "
@@ -233,7 +233,7 @@ source "$BIN_DIR/steps/pipenv"
233
233
# Uninstall removed dependencies with Pip.
234
234
# The buildpack will automatically remove any declared dependencies (in requirements.txt)
235
235
# that were explicitly removed. This machinery is a bit complex, but it is not complicated.
236
- let start=$( nowms)
236
+ (( start= $(nowms) ) )
237
237
# shellcheck source=bin/steps/pip-uninstall
238
238
source " $BIN_DIR /steps/pip-uninstall"
239
239
mtime " pip.uninstall.time" " ${start} "
@@ -277,7 +277,7 @@ source "$BIN_DIR/steps/gdal"
277
277
# -----------
278
278
279
279
# Install dependencies with pip (where the magic happens).
280
- let start=$( nowms)
280
+ (( start= $(nowms) ) )
281
281
# shellcheck source=bin/steps/pip-install
282
282
source " $BIN_DIR /steps/pip-install"
283
283
mtime " pip.install.time" " ${start} "
@@ -286,7 +286,7 @@ mtime "pip.install.time" "${start}"
286
286
# Note: this may only work on Python 2.7. I don't think many customers use this functionality,
287
287
# and it should probably be undocumented.
288
288
# (there's an import error on 3.6 that should hopefully be fixed upstream at some point)
289
- let start=$( nowms)
289
+ (( start= $(nowms) ) )
290
290
sub_env " $BIN_DIR /steps/nltk"
291
291
mtime " nltk.download.time" " ${start} "
292
292
304
304
# This is the cause for the majority of build failures on the Python platform.
305
305
# These failures are intentional — if collectstatic (which can be tricky, at times) fails,
306
306
# your build fails.
307
- let start=$( nowms)
307
+ (( start= $(nowms) ) )
308
308
sub_env " $BIN_DIR /steps/collectstatic"
309
309
mtime " collectstatic.time" " ${start} "
310
310
0 commit comments