deploy: replace stupid cat|grep|tee with sed

This commit is contained in:
Evgeny Zinoviev 2022-07-10 23:59:40 +03:00
parent 1c524efbf7
commit 8367359c35

View File

@ -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