tazpkg diff modules/check @ rev 955

modules/search: allow search file with dash at start: tazpkg -sf "-spi"
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 22 00:02:54 2017 +0200 (2017-12-22)
parents 70ac720dba11
children
line diff
     1.1 --- a/modules/check	Sat Dec 05 16:14:14 2015 +0200
     1.2 +++ b/modules/check	Fri Dec 22 00:02:54 2017 +0200
     1.3 @@ -68,7 +68,7 @@
     1.4  	ALL_DEPS="$ALL_DEPS$list "
     1.5  	for i in $list; do
     1.6  		[ -f "$i/receipt" ] || continue
     1.7 -		deps="$(unset DEPENDS; . "$i/receipt"; echo $DEPENDS)"
     1.8 +		deps="$(unset DEPENDS; . ./$i/receipt; echo $DEPENDS)"
     1.9  		case " $deps " in
    1.10  			*\ $pkg\ *)
    1.11  				print_pkgname
    1.12 @@ -98,7 +98,7 @@
    1.13  	fi
    1.14  
    1.15  	unset DEPENDS EXTRAVERSION
    1.16 -	. "$PACKAGE/receipt"
    1.17 +	. ./$PACKAGE/receipt
    1.18  	if [ -s "$PACKAGE/modifiers" ]; then
    1.19  		print_pkgname
    1.20  		_ 'The package has been modified by:'
    1.21 @@ -143,7 +143,7 @@
    1.22  	for PACKAGE in $PACKAGES; do
    1.23  		file="$PACKAGE/$CHECKSUM"
    1.24  		CONFIG_FILES=''
    1.25 -		. "$PACKAGE/receipt"
    1.26 +		. ./$PACKAGE/receipt
    1.27  		[ -s "$file" ] || continue
    1.28  		while read md5 f; do
    1.29  			[ -f "$f" ] || continue