deploy: replace stupid cat|grep|tee with sed
This commit is contained in:
parent
1c524efbf7
commit
8367359c35
@ -33,7 +33,7 @@ fi
|
|||||||
$PHP build_static.php
|
$PHP build_static.php
|
||||||
|
|
||||||
cp "$DEV_DIR/config-local.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
|
popd
|
||||||
|
|
||||||
# copy staging to prod
|
# copy staging to prod
|
||||||
|
Loading…
x
Reference in New Issue
Block a user