[ipsilon-web/oscp] Fix sed invocation
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ipsilon-web/oscp] Fix sed invocation
- Date: Mon, 15 Jun 2020 11:59:23 +0000 (UTC)
commit 2d260ea0684b8671ce08e286d9006d8fcc35e4ea
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Mon Jun 15 13:59:10 2020 +0200
Fix sed invocation
entrypoint.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/entrypoint.sh b/entrypoint.sh
index 7579ba3..8e8bc78 100755
--- a/entrypoint.sh
+++ b/entrypoint.sh
@@ -1,7 +1,7 @@
#!/bin/bash
for file in ipsilon configuration; do
- sed -i "s/DBUSER/$DBUSER/g" -e "s/DBPASS/$DBPASS/g" -e "s/DBHOST/$DBHOST/g" \
+ sed -i -e "s/DBUSER/$DBUSER/g" -e "s/DBPASS/$DBPASS/g" -e "s/DBHOST/$DBHOST/g" \
-e "s/DBNAME/$DBNAME/g" /etc/ipsilon/${file}.conf
done
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]