Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-08-06 08:01:36 +0200
committerErich Eckner <git@eckner.net>2019-08-06 08:01:36 +0200
commit79c45fa9281bb48f2904290717264f56676341b8 (patch)
tree6a4f8eeaa81ff8e9eb57183d3c8b44f3312c362e /bin
parent731eb01210d71409d80d5d87a9d0ae112ae20125 (diff)
bin/return-assignment: so.needs/so.provides -> needs/provides - we have more than link deps in there, now
Diffstat (limited to 'bin')
-rwxr-xr-xbin/return-assignment6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/return-assignment b/bin/return-assignment
index 019056d..9bd652d 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -838,14 +838,14 @@ while read -r package_id package_name; do
s/\s\S\+$/\t0\0/
:coda
s/^/'"${package_id}"'\tlink\t/
- ' >> "${tmp_dir}/so.${lib}"
+ ' >> "${tmp_dir}/${lib}"
done
# generate list of make-,check-,rundepends according to .PKGINFO
extract_dependencies_from_package \
"${tmp_dir}/${package_name}" \
| sed 's/^/'"${package_id}"' /' \
| tr ' ' '\t' \
- >> "${tmp_dir}/so.needs"
+ >> "${tmp_dir}/needs"
# TODO: this makes sense for provide= entries in .PKGINFO, too
done < \
"${tmp_dir}/package-ids"
@@ -933,7 +933,7 @@ cut -d' ' -f4,5 "${tmp_dir}/repository-ids" | \
printf '`version` VARCHAR(32)'
printf ');\n'
printf 'LOAD DATA LOCAL INFILE "%s" INTO TABLE `%s`;\n' \
- "${tmp_dir}/so.${lib_link#*:}" "${lib_link%:*}"
+ "${tmp_dir}/${lib_link#*:}" "${lib_link%:*}"
printf 'INSERT IGNORE INTO `install_targets` (`name`)'
printf ' SELECT DISTINCT `%s`.`lib`' \