From 8bedf9eeeb5079ef6bef01d13032a327fd941a05 Mon Sep 17 00:00:00 2001 From: Dominik Lisiak Date: Sun, 27 Jun 2021 21:39:03 +0200 Subject: Replaced sed with esed to be compatible with FreeBSD 13.0. --- security/ossec-hids-local-config/scripts/plist.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'security/ossec-hids-local-config/scripts/plist.sh') diff --git a/security/ossec-hids-local-config/scripts/plist.sh b/security/ossec-hids-local-config/scripts/plist.sh index b1915c4..07fbcd5 100644 --- a/security/ossec-hids-local-config/scripts/plist.sh +++ b/security/ossec-hids-local-config/scripts/plist.sh @@ -61,10 +61,10 @@ while read line; do path="" case ${line} in "@dir %%OSSEC_HOME%%"*) - path=`echo "${line}" | sed -e "s|@dir %%OSSEC_HOME%%||g"` + path=`echo "${line}" | sed -E 's|@dir %%OSSEC_HOME%%||g'` ;; "%%OSSEC_HOME%%"*) - path=`echo "${line}" | sed -e "s|%%OSSEC_HOME%%||g"` + path=`echo "${line}" | sed -E 's|%%OSSEC_HOME%%||g'` ;; "%%"*) unchanged_lines="${unchanged_lines}${NL}${line}" -- cgit v1.2.3