mirror of
https://github.com/zokradonh/kopano-docker
synced 2025-06-06 23:46:24 +00:00
fix typo in regex
This commit is contained in:
parent
5f07629a6d
commit
9ea07a1404
@ -15,7 +15,7 @@ php_cfg_gen() {
|
|||||||
case $cfg_value in
|
case $cfg_value in
|
||||||
# TODO stop after the first match (currently matching incl. closing quote)
|
# TODO stop after the first match (currently matching incl. closing quote)
|
||||||
true|TRUE|false|FALSE)
|
true|TRUE|false|FALSE)
|
||||||
sed -ri "s#(\s*define).+(${cfg_setting}\x22|${cfg_setting}\x27)\.+#\tdefine(\x22${cfg_setting}\x22, ${cfg_value}\);#g" "$cfg_file"
|
sed -ri "s#(\s*define).+(${cfg_setting}\x22|${cfg_setting}\x27).+#\tdefine(\x22${cfg_setting}\x22, ${cfg_value}\);#g" "$cfg_file"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
sed -ri "s#(\s*define).+(${cfg_setting}\x22|${cfg_setting}\x27).+#\tdefine(\x22${cfg_setting}\x22, \x22${cfg_value}\x22\);#g" "$cfg_file"
|
sed -ri "s#(\s*define).+(${cfg_setting}\x22|${cfg_setting}\x27).+#\tdefine(\x22${cfg_setting}\x22, \x22${cfg_value}\x22\);#g" "$cfg_file"
|
||||||
@ -28,4 +28,4 @@ php_cfg_gen() {
|
|||||||
ls -la "$dir"
|
ls -la "$dir"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user