[kaffe] CVS kaffe (dalibor): Fixed class library build script for sparc-solaris9

Kaffe CVS cvs-commits at kaffe.org
Tue Apr 27 00:54:02 PDT 2004


PatchSet 4698 
Date: 2004/04/27 07:33:26
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Fixed class library build script for sparc-solaris9

2004-04-26  Dalibor Topic  <robilad at kaffe.org>

        * libraries/javalib/rebuildLib.in:
        Fixed tests whether the variable is set to follow
        conventions. Fixed check for source dir to work
        with /bin/sh under sparc-solaris9.

Members: 
	ChangeLog:1.2274->1.2275 
	libraries/javalib/rebuildLib.in:1.39->1.40 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2274 kaffe/ChangeLog:1.2275
--- kaffe/ChangeLog:1.2274	Mon Apr 26 16:47:39 2004
+++ kaffe/ChangeLog	Tue Apr 27 07:33:26 2004
@@ -1,5 +1,12 @@
 2004-04-26  Dalibor Topic  <robilad at kaffe.org>
 
+	* libraries/javalib/rebuildLib.in:
+	Fixed tests whether the variable is set to follow
+	conventions. Fixed check for source dir to work
+	with /bin/sh under sparc-solaris9.
+
+2004-04-26  Dalibor Topic  <robilad at kaffe.org>
+
         * developers/autogen.sh:
 	Updated to require automake 1.8.4. Use autoreconf 
 	in libltdl.
Index: kaffe/libraries/javalib/rebuildLib.in
diff -u kaffe/libraries/javalib/rebuildLib.in:1.39 kaffe/libraries/javalib/rebuildLib.in:1.40
--- kaffe/libraries/javalib/rebuildLib.in:1.39	Sun Apr  4 03:16:49 2004
+++ kaffe/libraries/javalib/rebuildLib.in	Tue Apr 27 07:33:28 2004
@@ -26,18 +26,19 @@
 LIBDIR=`CDPATH=: && cd $LIBDIR && pwd`
 VERBOSE=
 
-if [ -z `echo $SRCDIR | egrep '^/.*'` ]; then
+ISSRCDIR=`echo $SRCDIR | egrep '^/.*'`
+if [ -z "${ISSRCDIR:-}" ]; then
 	SRCDIR="`pwd`/$SRCDIR"
 fi
 
-if [ -z "$JIKES" ] ; then
-	if [ -z "$JAVA" ]; then
+if [ -z "${JIKES:-}" ] ; then
+	if [ -z "${JAVA:-}" ]; then
 		test -f ${TOPBLD}/BUILD_ENVIRONMENT &&
 		. ${TOPBLD}/BUILD_ENVIRONMENT
 		BOOTCLASSPATH=${BOOTCLASSPATH}:${CLASSPATH}:${LIBDIR}; export BOOTCLASSPATH
 		JAVA="$JAVA -verbosegc"
 	fi
-	if [ -z "$JAVAC" ]; then
+	if [ -z "${JAVAC:-}" ]; then
 # Kaffe needs more than 64 M of memory to compile all of the
 # class library at once using kjc. Set maximal memory to 256 M
 # to be on the safe side. Actual usage is around 80M.




More information about the kaffe mailing list