index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-07-15 15:25:11 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-07-15 15:25:11 +0200 |
commit | 1dad6423c11e9b55dd1e1c8e95ea9b65cfb1ffcf (patch) | |
tree | 12a12b25a1726d4b14c975c5f6ff50a790e7a5cf | |
parent | 2362a68fe948715a36ddf333aab5515afa5006b3 (diff) |
-rwxr-xr-x | bin/return-assignment | 8 |
diff --git a/bin/return-assignment b/bin/return-assignment index 68bb52f..c4b7bd5 100755 --- a/bin/return-assignment +++ b/bin/return-assignment @@ -976,14 +976,14 @@ cut -d' ' -f4,5 "${tmp_dir}/repository-ids" | \ fi printf '`versions`.`id`' printf ' FROM `install_targets`' - if [ "${lib_link%:*}" = 'nl' ]; then - printf ' JOIN `dependency_types`' - printf ' ON `dependency_types`.`name`=`nl`.`dep_type`' - fi printf ' JOIN `%s`' \ "${lib_link%:*}" printf ' ON `%s`.`lib`=`install_targets`.`name`' \ "${lib_link%:*}" + if [ "${lib_link%:*}" = 'nl' ]; then + printf ' JOIN `dependency_types`' + printf ' ON `dependency_types`.`name`=`nl`.`dep_type`' + fi printf ' JOIN `versions`' printf ' ON `versions`.`epoch`=`%s`.`epoch`' \ "${lib_link%:*}" |