[survey-web/oscp] Rename to pwd due to sed failing with `unterminated `s'` command



commit 4c49c52daff9c152b002f43682148e2ef4b853e8
Author: Andrea Veri <averi redhat com>
Date:   Fri May 3 18:47:43 2019 +0200

    Rename to pwd due to sed failing with `unterminated `s'` command

 docker/run.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/docker/run.sh b/docker/run.sh
index e9fb4bb..96ac3dd 100755
--- a/docker/run.sh
+++ b/docker/run.sh
@@ -6,7 +6,7 @@ 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_PASSWORD/$MYSQL_PWD/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
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]