app-shells/smrsh: fix bad sed delimiter
authorBen Kohler <bkohler@gentoo.org>
Tue, 24 Mar 2020 12:57:12 +0000 (07:57 -0500)
committerBen Kohler <bkohler@gentoo.org>
Tue, 24 Mar 2020 13:31:34 +0000 (08:31 -0500)
Closes: https://bugs.gentoo.org/710898
Package-Manager: Portage-2.3.95, Repoman-2.3.21
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
app-shells/smrsh/smrsh-8.15.2.ebuild

index a3333b5cad37a8d17b7dfbf6717632f7609e1237..5679f879ea9432d5297656d39958f8bd5bb41b43 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -26,8 +26,8 @@ src_prepare() {
                -e "s:/usr/adm/sm.bin:/var/lib/smrsh:g" \
                -i README -i smrsh.8 || die "sed failed"
 
-       sed -e "s:@@confCCOPTS@@:${CFLAGS}:" \
-               -e "s:@@confLDOPTS@@:${LDFLAGS}:" \
+       sed -e "s|@@confCCOPTS@@|${CFLAGS}|" \
+               -e "s|@@confLDOPTS@@|${LDFLAGS}|" \
                -e "s:@@confCC@@:$(tc-getCC):" "${FILESDIR}/site.config.m4" \
                > "${S}/devtools/Site/site.config.m4" || die "sed failed"
 }