tazpkg diff modules/check @ rev 884

Module 'check': fix to work with $root; start to add tests
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Dec 05 16:14:14 2015 +0200 (2015-12-05)
parents 8a73a58ed3cb
children 4802158453e1
line diff
     1.1 --- a/modules/check	Fri Oct 09 13:14:01 2015 +0300
     1.2 +++ b/modules/check	Sat Dec 05 16:14:14 2015 +0200
     1.3 @@ -107,8 +107,8 @@
     1.4  
     1.5  	MSG="$(_n 'Files lost from package:')\n"
     1.6  	while read file; do
     1.7 -		[ -e "$file" ] && continue
     1.8 -		if [ -L "$file" ]; then
     1.9 +		[ -e "$root$file" ] && continue
    1.10 +		if [ -L "$root$file" ]; then
    1.11  			MSG="$MSG  $(_n 'target of symlink')"
    1.12  		fi
    1.13  		print_pkgname