-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Description
start.sh generates an error:
sed: bad option in substitution expression
I thought it might be caused by PHP configs containing dots...
e.g.
if [ ! -z "$PHP_DATE_TIMEZONE" ]; then sed -i "s/\;\?\\s\?date.timezone = .*/date.timezone = $PHP_DATE_TIMEZONE/" /etc/php7/php.ini && echo "Set PHP date.timezone = $PHP_DATE_TIMEZONE..."; fi
But I've tried escaping the dots in the config name and it doesn't fix reliably (I'm getting inconsistent results, not sure exactly what's going on).
Metadata
Metadata
Assignees
Labels
No labels