cookutils rev 997

lighttpd/index.cgi: small improvements (and again)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Nov 01 03:44:38 2017 +0200 (2017-11-01)
parents 6f6ed486c7c5
children ae3975981d3f
files lighttpd/index.cgi
line diff
     1.1 --- a/lighttpd/index.cgi	Wed Nov 01 03:29:34 2017 +0200
     1.2 +++ b/lighttpd/index.cgi	Wed Nov 01 03:44:38 2017 +0200
     1.3 @@ -1085,7 +1085,7 @@
     1.4  		inf="$(mktemp -d)"
     1.5  
     1.6  		# 1/3: Build dependencies (from receipt and pkgdb)
     1.7 -		for i in $WANTED $BUILD_DEPENDS $(awk -F$'\t' -vp=" $pkg " '{if (index(" " $2 " ", p)) print $1}' $splitdb); do
     1.8 +		for i in $WANTED $BUILD_DEPENDS $(awk -F$'\t' -vp=" $pkg " '{if (index(" " $2 " ", p) && (" " $1 " " != p)) print $1}' $splitdb); do
     1.9  			echo "$i" >> $inf/a
    1.10  		done
    1.11