wok-current rev 25475

openjdk-6-src: find output to variable
author Hans-G?nter Theisgen
date Thu Oct 13 17:05:46 2022 +0100 (2022-10-13)
parents aa16d45b14bd
children 362a5a98467f
files openjdk-6-src/receipt
line diff
     1.1 --- a/openjdk-6-src/receipt	Thu Oct 13 16:42:57 2022 +0100
     1.2 +++ b/openjdk-6-src/receipt	Thu Oct 13 17:05:46 2022 +0100
     1.3 @@ -13,12 +13,10 @@
     1.4  
     1.5  COOK_OPT="!unpack !repack_src !fs"
     1.6  
     1.7 -BUILD_DEPENDS="findutils"
     1.8 -# busybox find does not know ";"
     1.9 -
    1.10  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.11  compile_rules()
    1.12  {
    1.13 -	find $src -name Makefile \; | xargs sed -i 's|uname -m|echo i486|'
    1.14 -	mkdir -p $fs/usr
    1.15 +	makefiles=$(find $src -name Makefile)
    1.16 +	echo $makefiles | xargs sed -i 's|uname -m|echo i486|'
    1.17 +	mkdir -p	$fs/usr
    1.18  }