wok diff java-jre/receipt @ rev 5807

eduke32: download data into SOURCES_REPOSITORY
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jul 12 09:33:05 2010 +0200 (2010-07-12)
parents d4be90e180f7
children 9b3a716845ad
line diff
     1.1 --- a/java-jre/receipt	Mon Sep 28 18:46:51 2009 +0200
     1.2 +++ b/java-jre/receipt	Mon Jul 12 09:33:05 2010 +0200
     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/jre-bin/* $fs/usr/bin
    1.12 -	for i in $_pkg/usr/jre-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  }