diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/return-assignment | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/return-assignment b/bin/return-assignment index 035dadf..b0fcd0a 100755 --- a/bin/return-assignment +++ b/bin/return-assignment @@ -899,7 +899,11 @@ while read -r package_id package_name; do t coda s/\s\S\+$/\t0\0/ :coda - s/^/'"${package_id}"'\tlink\t/ + s/^/'"${package_id}"'\t'"$( + if [ "${lib}" = 'needs' ]; then + printf 'link\\t' + fi + )"'/ ' >> "${tmp_dir}/${lib}" done # generate list of make-,check-,rundepends according to .PKGINFO |