/hg/icedtea6: Fix bashism.

ptisnovs at icedtea.classpath.org ptisnovs at icedtea.classpath.org
Tue May 17 00:10:40 PDT 2011


changeset c59c4a788187 in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=c59c4a788187
author: ptisnovs
date: Tue May 17 09:15:25 2011 +0200

	Fix bashism.


diffstat:

 ChangeLog                       |  4 ++++
 patches/jtreg-6929067-fix.patch |  2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 29d688c7693d -r c59c4a788187 ChangeLog
--- a/ChangeLog	Mon May 16 16:19:11 2011 +0200
+++ b/ChangeLog	Tue May 17 09:15:25 2011 +0200
@@ -1,3 +1,7 @@
+2011-05-17  Pavel Tisnovsky  <ptisnovs at redhat.com>
+
+	* patches/jtreg-6929067-fix.patch: Fix bashism.
+
 2011-05-16  Pavel Tisnovsky  <ptisnovs at redhat.com>
 
 	* patches/jtreg-6929067-fix.patch: fix this regression
diff -r 29d688c7693d -r c59c4a788187 patches/jtreg-6929067-fix.patch
--- a/patches/jtreg-6929067-fix.patch	Mon May 16 16:19:11 2011 +0200
+++ b/patches/jtreg-6929067-fix.patch	Tue May 17 09:15:25 2011 +0200
@@ -10,7 +10,7 @@
 +# Test if JDK is 32 or 64 bits
 +${TESTJAVA}/bin/java -d64
 +
-+if [[ $? == 0 ]]
++if [ $? -eq 0 ]
 +then
 +    COMP_FLAG="-m64"
 +fi



More information about the distro-pkg-dev mailing list