diff options
author | Erich Eckner <git@eckner.net> | 2019-09-13 14:10:54 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-09-13 14:10:54 +0200 |
commit | 71aef281f16e384b9c8f7998cca37bdb6589341c (patch) | |
tree | 6fd730c9c960b74d4262802c52c5d2adc4f40877 /bin/return-assignment | |
parent | 2d583a8a688db7823cc2d9bb18ed97ea711f2057 (diff) | |
download | builder-71aef281f16e384b9c8f7998cca37bdb6589341c.tar.xz |
bin/return-assignment: fix insertion of link-provides
Diffstat (limited to 'bin/return-assignment')
-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 |