vapier      15/05/25 09:56:10

  Added:                netkit-routed-0.17-printf.patch
  Log:
  Fix by Andrew Miller to use printf instead of echo -n #529992 by Diego Elio 
Pettenò.
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
D2E96200)

Revision  Changes    Path
1.1                  
net-misc/netkit-routed/files/netkit-routed-0.17-printf.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/netkit-routed/files/netkit-routed-0.17-printf.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/netkit-routed/files/netkit-routed-0.17-printf.patch?rev=1.1&content-type=text/plain

Index: netkit-routed-0.17-printf.patch
===================================================================
echo -n isn't supported by all shells, use printf instead, which is portable.

Patch by Andrew Miller.

https://bugs.gentoo.org/529992

--- a/configure
+++ b/configure
@@ -235,10 +235,7 @@
 
 echo 'Generating MCONFIG...'
 (
-    echo -n '# Generated by configure (confgen version 2) on '
-    date
-    echo '#'
-    echo
+    printf "#\n# Generated by configure (confgen version 2) on $(date)\n#\n\n"
 
     echo "SBINDIR=$SBINDIR"
     echo "MANDIR=$MANDIR"




Reply via email to