wok diff slitaz-dev-tools/stuff/tazdev @ rev 7895

automake: fix depends
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Jan 09 13:59:24 2011 +0100 (2011-01-09)
parents d26b0b60ce2e
children 4249e7ca9034
line diff
     1.1 --- a/slitaz-dev-tools/stuff/tazdev	Wed Mar 24 21:44:15 2010 +0000
     1.2 +++ b/slitaz-dev-tools/stuff/tazdev	Sun Jan 09 13:59:24 2011 +0100
     1.3 @@ -177,10 +177,16 @@
     1.4  	arg=$1
     1.5  	TMP_FILE=/tmp/tazdev.$$
     1.6  	ls $BUILD_WOK | while read pkg; do
     1.7 -		[ -f $BUILD_WOK/$pkg/taz/*/receipt ] || continue
     1.8 +		[ -f $BUILD_WOK/$pkg/receipt ] || continue
     1.9  		TARBALL=""
    1.10 -		. $BUILD_WOK/$pkg/taz/*/receipt
    1.11 +		. $BUILD_WOK/$pkg/receipt
    1.12  		[ -n "$TARBALL" ] && echo $TARBALL
    1.13 +		grep SOURCES_REPOSITORY/ $BUILD_WOK/$pkg/receipt | sed \
    1.14 +		-e 's|.*SOURCES_REPOSITORY/\([^ ]*\)\( .*\)$|\1|' \
    1.15 +		-e 's|.*SOURCES_REPOSITORY/\([^ ]*\)$|\1|' | sort | uniq | \
    1.16 +		sed "s|['\"/]||g" | while read file ; do
    1.17 +			eval echo $file 2> /dev/null
    1.18 +		done
    1.19  	done > $TMP_FILE
    1.20  	ls $SLITAZ/chroot/home/slitaz/src | while read pkg; do
    1.21  		grep -q ^$pkg$ $TMP_FILE && continue