]> git.ipfire.org Git - people/ms/ipfire-3.x.git/commitdiff
rp-pppoe: Fix the plugin dir.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 24 Jun 2012 18:11:32 +0000 (20:11 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 24 Jun 2012 18:11:32 +0000 (20:11 +0200)
rp-pppoe/rp-pppoe.nm

index aa433c28db66d69b365e13313c67cb06990f941a..af16c6c0e8b061e9a8b054c49c5422f295cacff7 100644 (file)
@@ -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.