[kaffe] CVS kaffe (dalibor): Fixed install-jar again

Kaffe CVS cvs-commits at kaffe.org
Thu Jan 22 07:56:03 PST 2004


PatchSet 4359 
Date: 2004/01/22 15:53:28
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Fixed install-jar again

2004-01-19  Dalibor Topic <robilad at kaffe.org>

        * kaffe/scripts/install-jar.in:
        Put the jars in /lib/ directory. Use
        basename while copying the jars to avoid problems with
        directories prepended to the jar file name.

Members: 
	ChangeLog:1.1944->1.1945 
	kaffe/scripts/install-jar.in:1.2->1.3 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.1944 kaffe/ChangeLog:1.1945
--- kaffe/ChangeLog:1.1944	Thu Jan 22 14:58:43 2004
+++ kaffe/ChangeLog	Thu Jan 22 15:53:28 2004
@@ -1,3 +1,10 @@
+2004-01-19  Dalibor Topic <robilad at kaffe.org>
+
+	* kaffe/scripts/install-jar.in:
+	Put the jars in $prefix/lib/ directory. Use
+	basename while copying the jars to avoid problems with
+	directories prepended to the jar file name.
+	
 2004-01-22  Mark Wielaard  <mark at klomp.org>
 
 	Fix for Maven 1.0-rc1.
Index: kaffe/kaffe/scripts/install-jar.in
diff -u kaffe/kaffe/scripts/install-jar.in:1.2 kaffe/kaffe/scripts/install-jar.in:1.3
--- kaffe/kaffe/scripts/install-jar.in:1.2	Tue Oct 27 06:51:16 1998
+++ kaffe/kaffe/scripts/install-jar.in	Thu Jan 22 15:53:30 2004
@@ -3,7 +3,7 @@
 #  here to help install useful JAR's and cut down on installation bugs.
 
 prefix=@prefix@
-classdir=@datadir@/kaffe
+classdir=@prefix@/lib
 
 if test x"${1+set}" != x"set" ; then
 	echo "usage: install-jar <jarfile> ..."
@@ -13,7 +13,7 @@
 for i in "$@"
 do
 	echo -n "Installing $i in $classdir ... "
-	cp "$i" "$classdir/$i" &&
+	cp "$i" "$classdir/`basename $i`" &&
 	echo "done"
 done
 




More information about the kaffe mailing list