[survey-web/oscp] Actually drop \g as we only have one single variable to substitute, might that be the culprit?
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [survey-web/oscp] Actually drop \g as we only have one single variable to substitute, might that be the culprit?
- Date: Fri, 3 May 2019 16:56:18 +0000 (UTC)
commit 8ee271ceaac1b3622059566f6a19631b38932368
Author: Andrea Veri <averi redhat com>
Date: Fri May 3 18:56:05 2019 +0200
Actually drop \g as we only have one single variable to substitute, might that be the culprit?
docker/run.sh | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/docker/run.sh b/docker/run.sh
index e9fb4bb..8904658 100755
--- a/docker/run.sh
+++ b/docker/run.sh
@@ -5,10 +5,10 @@ config=/app/limesurvey/application/config/config.php
echo -ne "Configuring limesurvey database config file..."
if [ -f $config ]
then
- sed -i -e "s/MYSQL_USER/$MYSQL_USER/g" $config
- sed -i -e "s/MYSQL_PASSWORD/$MYSQL_PASSWORD/g" $config
- sed -i -e "s/MYSQL_DATABASE_HOST/$MYSQL_DATABASE_HOST/g" $config
- sed -i -e "s/MYSQL_DATABASE_NAME/$MYSQL_DATABASE_NAME/g" $config
+ sed -i -e "s/MYSQL_USER/$MYSQL_USER/" $config
+ sed -i -e "s/MYSQL_PASSWORD/$MYSQL_PASSWORD/" $config
+ sed -i -e "s/MYSQL_DATABASE_HOST/$MYSQL_DATABASE_HOST/" $config
+ sed -i -e "s/MYSQL_DATABASE_NAME/$MYSQL_DATABASE_NAME/" $config
echo OK
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]