aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2006-06-11 16:56:14 +0800
committerale <ale@FreeBSD.org>2006-06-11 16:56:14 +0800
commite3cbbc0d487e1533238a564feda61e5e4db0f40e (patch)
tree9aa0be4ab3f1e822364909d84fc74e75f92ccaab /ports-mgmt
parentf07bcc737dfbd06956451c526cb87b5c9efb6b1b (diff)
downloadfreebsd-ports-gnome-e3cbbc0d487e1533238a564feda61e5e4db0f40e.tar.gz
freebsd-ports-gnome-e3cbbc0d487e1533238a564feda61e5e4db0f40e.tar.zst
freebsd-ports-gnome-e3cbbc0d487e1533238a564feda61e5e4db0f40e.zip
Correct sed syntax.
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/portconf/pkg-deinstall4
1 files changed, 2 insertions, 2 deletions
diff --git a/ports-mgmt/portconf/pkg-deinstall b/ports-mgmt/portconf/pkg-deinstall
index 5646b09dab71..1f90cf2c820a 100644
--- a/ports-mgmt/portconf/pkg-deinstall
+++ b/ports-mgmt/portconf/pkg-deinstall
@@ -5,8 +5,8 @@ MAKE_CONF=/etc/make.conf
if [ "$2" = "POST-DEINSTALL" ]; then
echo -n "Cleaning up ${MAKE_CONF}..."
if [ -f ${MAKE_CONF} ]; then
- sed -i"" -e "/# Begin portconf settings/,/# End portconf settings/d" \
- ${MAKE_CONF}
+ sed -e "/# Begin portconf settings/,/# End portconf settings/d" \
+ -i "" ${MAKE_CONF}
if [ ! -s ${MAKE_CONF} ]; then
rm ${MAKE_CONF}
fi