summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/return-assignment8
1 files changed, 4 insertions, 4 deletions
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%:*}"