summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-02-08 17:22:47 +0100
committerDavid Seifert <soap@gentoo.org>2020-02-08 17:22:47 +0100
commit68ce593c73021d1fbdc02aeeefd19c2595555f6d (patch)
tree6c017142cfe32db550420563523243a209ccf681 /net-dialup/rp-pppoe
parentnet-analyzer/snort: [QA] Fix UnnecessarySlashStrip (diff)
downloadgentoo-68ce593c73021d1fbdc02aeeefd19c2595555f6d.tar.gz
gentoo-68ce593c73021d1fbdc02aeeefd19c2595555f6d.tar.bz2
gentoo-68ce593c73021d1fbdc02aeeefd19c2595555f6d.zip
net-dialup/rp-pppoe: [QA] Fix UnnecessarySlashStrip
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-dialup/rp-pppoe')
-rw-r--r--net-dialup/rp-pppoe/rp-pppoe-3.13.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-dialup/rp-pppoe/rp-pppoe-3.13.ebuild b/net-dialup/rp-pppoe/rp-pppoe-3.13.ebuild
index 2f775fca64a2..ab0711a3d0de 100644
--- a/net-dialup/rp-pppoe/rp-pppoe-3.13.ebuild
+++ b/net-dialup/rp-pppoe/rp-pppoe-3.13.ebuild
@@ -84,7 +84,7 @@ src_install () {
emake DESTDIR="${D}" install #docdir=/usr/share/doc/${PF} install
#Don't use compiled rp-pppoe plugin - see pkg_preinst below
- local pppoe_plugin="${ED%/}/etc/ppp/plugins/rp-pppoe.so"
+ local pppoe_plugin="${ED}/etc/ppp/plugins/rp-pppoe.so"
if [ -f "${pppoe_plugin}" ] ; then
rm "${pppoe_plugin}" || die
fi
@@ -105,7 +105,7 @@ src_install () {
pkg_preinst() {
# Use the rp-pppoe plugin that comes with net-dialup/pppd
- if [ -n "${PPPD_VER}" ] && [ -f "${EROOT%/}/usr/lib/pppd/${PPPD_VER}/rp-pppoe.so" ] ; then
+ if [ -n "${PPPD_VER}" ] && [ -f "${EROOT}/usr/lib/pppd/${PPPD_VER}/rp-pppoe.so" ] ; then
dosym ../../../usr/lib/pppd/${PPPD_VER}/rp-pppoe.so /etc/ppp/plugins/rp-pppoe.so
fi
}