From 8367359c3534a2dcaad724099d6060b6926d412e Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Sun, 10 Jul 2022 23:59:40 +0300 Subject: deploy: replace stupid cat|grep|tee with sed --- deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index 96240f6..7f37873 100755 --- a/deploy.sh +++ b/deploy.sh @@ -33,7 +33,7 @@ fi $PHP build_static.php cp "$DEV_DIR/config-local.php" . -cat config-local.php | grep -v is_dev | tee config-local.php >/dev/null +sed -i '/is_dev/d' ./config-local.php popd # copy staging to prod -- cgit v1.2.3