wok-4.x rev 4305

icedtea6-jdk: be busybox compatible (typo)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 28 13:15:43 2009 +0200 (2009-09-28)
parents 768329868eb6
children 7d0819bf33c0
files icedtea6-jdk/receipt
line diff
     1.1 --- a/icedtea6-jdk/receipt	Mon Sep 28 13:09:32 2009 +0200
     1.2 +++ b/icedtea6-jdk/receipt	Mon Sep 28 13:15:43 2009 +0200
     1.3 @@ -31,7 +31,7 @@
     1.4  	cat > slitaz.sh <<EOT
     1.5  # Busybox compatibility
     1.6  find -name Sanity.gmk | xargs sed -i 's/--sync -kP/-k/' 
     1.7 -find -name Platform.gmk | xargs sed -i 's@MB_OF_MEMORY :=@& $(shell free | awk '/Mem:/ { printf "%d\n",$2/1024 }')@'
     1.8 +find -name Platform.gmk | xargs sed -i 's@MB_OF_MEMORY :=@& \$(shell free | awk '/Mem:/ { printf "%d\n",\$2/1024 }')@'
     1.9  EOT
    1.10  	sed -i  -e 's|touch stamps/download.stamp|&\n\tsh slitaz.sh|' \
    1.11  		-e 's/ln -sfv/ln -sf/' Makefile*