summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-07-10 23:59:40 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-07-10 23:59:40 +0300
commit8367359c3534a2dcaad724099d6060b6926d412e (patch)
tree8d7984080578be2cd98cc50fc8a7443f5ee6b127
parent1c524efbf7da91cb99bb4516feb514071e938495 (diff)
deploy: replace stupid cat|grep|tee with sed
-rwxr-xr-xdeploy.sh2
1 files changed, 1 insertions, 1 deletions
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