cookutils diff cook @ rev 902

cook: cookit(): fix searching local packages; lighttpd/index.cgi: add 's' to known permissions.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 12 17:15:15 2017 +0300 (2017-05-12)
parents da39bc22887e
children d41948eec3e6
line diff
     1.1 --- a/cook	Fri May 12 16:01:49 2017 +0300
     1.2 +++ b/cook	Fri May 12 17:15:15 2017 +0300
     1.3 @@ -621,7 +621,7 @@
     1.4  			# Try local package first.
     1.5  			namever=$(awk -F$'\t' -vpkg="$i" '{
     1.6  				# if package-name or provided-package-name matched
     1.7 -				if (index(" " $1 " " $10 " ", " " pkg " ")) { printf("%s-%s", $1, $2); quit; }
     1.8 +				if (index(" " $1 " " $10 " ", " " pkg " ")) { printf("%s-%s", $1, $2); exit; }
     1.9  			}' "$PKGS/packages.info")		# <namever> = <package_name>-<package_version>
    1.10  
    1.11  			debug "bdep: $i name-version: $namever"