# HG changeset patch # User Christophe Lincoln # Date 1306452083 -7200 # Node ID b0901ba36ea2e8430b25d7e3ad9402851753464d # Parent a0c0a3c3e6981742bb3ccb41d4f0ff7fb410e091 icedtea6-jdk: add some echo for logs diff -r a0c0a3c3e698 -r b0901ba36ea2 icedtea6-jdk/receipt --- a/icedtea6-jdk/receipt Fri May 27 00:58:14 2011 +0200 +++ b/icedtea6-jdk/receipt Fri May 27 01:21:23 2011 +0200 @@ -81,34 +81,41 @@ # NOTE: don't build with -j 4. Only build with -j 1 or tank will crash # NOTE: IcedTea6 does not define an "install" target - echo "Copying needed files to install dir" + echo "Copying needed files to install dir..." rm -rf $DESTDIR local JVM_BUILDDIR JVM_BUILDDIR=$src/openjdk.build/j2sdk-image local JVM_DESTDIR JVM_DESTDIR=${DESTDIR}$JVM_PREFIX + echo "JVM_BUILDDIR: $JVM_BUILDDIR" + echo "JVM_DESTDIR: $JVM_DESTDIR" + echo "Copying files: bin/ lib/" mkdir -p $JVM_DESTDIR cp -a $JVM_BUILDDIR/bin $JVM_DESTDIR cp -a $JVM_BUILDDIR/lib $JVM_DESTDIR - + + echo "Copying JRE files: bin/ lib/" mkdir -p $JVM_DESTDIR/jre cp -a $JVM_BUILDDIR/jre/bin $JVM_DESTDIR/jre cp -a $JVM_BUILDDIR/jre/lib $JVM_DESTDIR/jre # Delete duplicated executables from the JDK bin + echo "Deleting duplicated files..." for jbin in $(ls -1 $JVM_DESTDIR/jre/bin) ; do rm -f $JVM_DESTDIR/bin/$jbin done # Create symlinks for JDK binaries + echo "Creating symlinks for JDK binaries..." mkdir -p $DESTDIR/usr/jdk-bin for jbin in $(ls -1 $JVM_DESTDIR/bin) ; do ln -s $JVM_PREFIX/bin/$jbin $DESTDIR/usr/jdk-bin/$jbin done # Create symlinks for JRE binaries + echo "Creating symlinks for JRE binaries..." mkdir -p $DESTDIR/usr/jre-bin for jbin in $(ls -1 $JVM_DESTDIR/jre/bin) ; do ln -s $JVM_PREFIX/jre/bin/$jbin $JVM_DESTDIR/bin/$jbin