Fix broken extra start script check

This commit is contained in:
soulgalore 2019-03-07 11:19:30 +01:00
parent ba037f2543
commit 820a2359e9
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,9 @@
# CHANGELOG - sitespeed.io
## 8.7.1 - 2019-03-07
### Fixed
* Fixed error log from chmod in the Docker container with a better check for if the extra start script exists.
## 8.7.0 - 2019-03-06
### Added
* Support for uploading result to Google Cloud Storage. Thank you [Markus Liljedahl](https://github.com/mliljedahl) for the PR [#2360](https://github.com/sitespeedio/sitespeed.io/pull/2360)!

View File

@ -119,7 +119,7 @@ function runSitespeedio(){
setupADB
# Additional start script that the user can copy to the container
if [ -f $EXTRA_START_SCRIPT ]
if [ ! -z "$EXTRA_START_SCRIPT" ] && [ -f "$EXTRA_START_SCRIPT" ]
then
chmod +x $EXTRA_START_SCRIPT
$EXTRA_START_SCRIPT