aballier    15/07/14 08:45:01

  Added:                parmap-1.0_rc6-fix-bashisms.patch
  Log:
  Fix bashisms in configure, bug #553596 by Rémi Cardona.
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
160F534A)

Revision  Changes    Path
1.1                  dev-ml/parmap/files/parmap-1.0_rc6-fix-bashisms.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/parmap/files/parmap-1.0_rc6-fix-bashisms.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/parmap/files/parmap-1.0_rc6-fix-bashisms.patch?rev=1.1&content-type=text/plain

Index: parmap-1.0_rc6-fix-bashisms.patch
===================================================================
--- configure.ac        2015-07-03 23:59:19.361723234 +0200
+++ configure.ac        2015-07-03 23:59:48.161216749 +0200
@@ -27,7 +27,7 @@
 AC_CONFIG_HEADERS([config.h])
 
-t=`$OCAMLBUILD -use-ocamlfind &> /dev/null; echo $?`
-if test $t == 0 ; then
+t=`$OCAMLBUILD -use-ocamlfind > /dev/null 2>&1 ; echo $?`
+if test "$t" = 0 ; then
   AC_MSG_RESULT(ocaml version $OCAMLVERSION. Use standard Makefile)
   AC_CONFIG_FILES([Makefile])
   AC_OUTPUT




Reply via email to