wok diff java-jdk/receipt @ rev 4901

tazbb: report flavor more verbose (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 11 11:35:30 2010 +0100 (2010-02-11)
parents d4be90e180f7
children 4466fa74bc06
line diff
     1.1 --- a/java-jdk/receipt	Mon Sep 28 18:46:51 2009 +0200
     1.2 +++ b/java-jdk/receipt	Thu Feb 11 11:35:30 2010 +0100
     1.3 @@ -17,16 +17,6 @@
     1.4  	# tazwok does not define _pkg correctly when both WANTED and SOURCE are set
     1.5  	_pkg=$WOK/$WANTED/$SOURCE-$VERSION/_pkg
     1.6  
     1.7 -	mkdir -p $fs/usr/bin $fs/usr/lib/jvm/java-icedtea/jre/lib/i386/jli
     1.8 -	cp -a $_pkg/usr/lib/jvm/java-icedtea/jre/lib/i386/jli/libjli.so \
     1.9 -		$fs/usr/lib/jvm/java-icedtea/jre/lib/i386/jli
    1.10 +	mkdir -p $fs/usr/bin
    1.11  	cp -a $_pkg/usr/jdk-bin/* $fs/usr/bin
    1.12 -	for i in $_pkg/usr/jdk-bin/* ; do
    1.13 -		while [ -L $i ]; do
    1.14 -			target=$(readlink $i)
    1.15 -			mkdir -p $fs$(dirname $target)
    1.16 -			cp -a $_pkg$target $fs$target
    1.17 -			i=$_pkg$target
    1.18 -		done
    1.19 -	done
    1.20  }