wok rev 5926
slitaz-dev-tools: tazdev should keep file downloaded in compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 29 11:54:31 2010 +0200 (2010-07-29) |
parents | f5d1df2b1b21 |
children | 50dc3d3d35b3 |
files | slitaz-dev-tools/stuff/tazdev |
line diff
1.1 --- a/slitaz-dev-tools/stuff/tazdev Thu Jul 29 09:43:44 2010 +0200 1.2 +++ b/slitaz-dev-tools/stuff/tazdev Thu Jul 29 11:54:31 2010 +0200 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