SOURCES: openmpi-ksh.patch (NEW) - skip extra escapings to be comp...
glen
glen at pld-linux.org
Wed Jan 9 00:51:28 CET 2008
Author: glen Date: Tue Jan 8 23:51:28 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- skip extra escapings to be compatible with ksh
---- Files affected:
SOURCES:
openmpi-ksh.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/openmpi-ksh.patch
diff -u /dev/null SOURCES/openmpi-ksh.patch:1.1
--- /dev/null Wed Jan 9 00:51:28 2008
+++ SOURCES/openmpi-ksh.patch Wed Jan 9 00:51:23 2008
@@ -0,0 +1,40 @@
+--- openmpi-1.2.5/./config/ompi_get_version.sh~ 2008-01-09 01:37:36.000000000 +0200
++++ openmpi-1.2.5/./config/ompi_get_version.sh 2008-01-09 01:37:42.931463912 +0200
+@@ -59,7 +59,7 @@
+ : ${svnversion_result=-1}
+
+ if test -f "$srcfile"; then
+- eval "`sed -n \"\
++ eval $(sed -n '
+ t clear
+ : clear
+ s/^major/OMPI_MAJOR_VERSION/
+@@ -71,7 +71,7 @@
+ t print
+ b
+ : print
+- p\" < \"\$srcfile\"`"
++ p' < "$srcfile")
+
+ # Only print release version if it isn't 0
+ if test $OMPI_RELEASE_VERSION -ne 0 ; then
+--- openmpi-1.2.5/./config/ompi_get_version.m4~ 2006-08-15 23:14:05.000000000 +0300
++++ openmpi-1.2.5/./config/ompi_get_version.m4 2008-01-09 01:38:42.551027180 +0200
+@@ -41,7 +41,7 @@
+
+ dnl quote eval to suppress macro expansion with non-GNU m4
+ if test -f "$1"; then
+- [eval] "`sed -n \"\
++ [eval] $(sed -n '
+ t clear
+ : clear
+ s/^major/$2_MAJOR_VERSION/
+@@ -53,7 +53,7 @@
+ t print
+ b
+ : print
+- p\" < \"\$1\"`"
++ p' < "$1")
+
+ # Only print release version if it isn't 0
+ if test $$2_RELEASE_VERSION -ne 0 ; then
================================================================
More information about the pld-cvs-commit
mailing list