SOURCES: libsmbios-sh.patch (NEW) - kill bashism
qboosh
qboosh at pld-linux.org
Wed Jun 18 07:03:56 CEST 2008
Author: qboosh Date: Wed Jun 18 05:03:56 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- kill bashism
---- Files affected:
SOURCES:
libsmbios-sh.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/libsmbios-sh.patch
diff -u /dev/null SOURCES/libsmbios-sh.patch:1.1
--- /dev/null Wed Jun 18 07:03:57 2008
+++ SOURCES/libsmbios-sh.patch Wed Jun 18 07:03:51 2008
@@ -0,0 +1,13 @@
+--- libsmbios-2.0.2/configure.ac.orig 2008-06-18 06:43:33.290063000 +0200
++++ libsmbios-2.0.2/configure.ac 2008-06-18 06:42:58.000000000 +0200
+@@ -91,8 +91,8 @@
+ for i in RELEASE_NAME RELEASE_MAJOR RELEASE_MINOR RELEASE_SUBLEVEL RELEASE_EXTRALEVEL
+ do
+ varname=temp_$i
+- if test -z "${!i}"; then
+- eval $i=${!varname}; export $i
++ if test -z "$(eval echo \$$i)"; then
++ eval $i=\$$varname; export $i
+ fi
+ done
+
================================================================
More information about the pld-cvs-commit
mailing list