[Slackbuilds-users] vpnc bash4 fix

caio elcaio at gmail.com
Mon Apr 19 21:28:39 UTC 2010


Hello,
Just a reminder for those who want to install vpnc using
bash4....,remember to add " || true" at the end of each (find ... |
strip...) line on the sbo script.

Here the fix:

--- vpnc.SlackBuild     2009-08-27 19:00:25.000000000 -0300
+++ vpnc.SlackBuild.new 2010-04-19 18:21:33.000000000 -0300
@@ -74,9 +74,9 @@

 ( cd $PKG
   find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
-    xargs strip --strip-unneeded 2> /dev/null
+    xargs strip --strip-unneeded 2> /dev/null || true
   find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
-    xargs strip --strip-unneeded 2> /dev/null
+    xargs strip --strip-unneeded 2> /dev/null || true
 )

Regards,
Caio


More information about the SlackBuilds-users mailing list