From: Michael Tremer Date: Sun, 24 Jun 2012 18:11:32 +0000 (+0200) Subject: rp-pppoe: Fix the plugin dir. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33c4c3fa4a9147feda7295707ada5e56955a2d2c;p=ipfire-3.x.git rp-pppoe: Fix the plugin dir. --- diff --git a/rp-pppoe/rp-pppoe.nm b/rp-pppoe/rp-pppoe.nm index aa433c28d..af16c6c0e 100644 --- a/rp-pppoe/rp-pppoe.nm +++ b/rp-pppoe/rp-pppoe.nm @@ -5,7 +5,7 @@ name = rp-pppoe version = 3.10 -release = 2 +release = 3 groups = Networking/Dialin url = http://www.roaringpenguin.com/pppoe/ @@ -36,7 +36,7 @@ build prepare_cmds # PLUGIN_DIR defaults to /etc/ppp/plugins, which is not what we want. sed -i Makefile.in \ - -e "s@^PLUGIN_DIR=.*@PLUGIN_DIR=%{libdir}/pppd/$(pppd --version | awk '{ print $NF }')@" + -e "s@^PLUGIN_DIR=.*@PLUGIN_DIR=%{libdir}/pppd/$(pppd --version 2>&1 | awk '{ print $NF }')@" # Always enable kernel mode PPPoE for the server, because we # don't ship the userspace component.