summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ob-gencontrol.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ob-gencontrol.sh b/src/ob-gencontrol.sh
index 1c0da12..5a103a0 100644
--- a/src/ob-gencontrol.sh
+++ b/src/ob-gencontrol.sh
@@ -164,18 +164,18 @@ gen_control_bin()
'Essential')
;;
'Depends' | 'Recommends' | 'Suggests' | 'Pre-Depends')
+ value="$(ob_substvars "${value}" "${binary}")"
value="$(ob_reduce_deps \
-a "${OPK_HOST_ARCH}" \
-p "${OPK_HOST_PLAT}" \
-- "${value}")"
- value="$(ob_substvars "${value}" "${binary}")"
;;
'Conflicts' | 'Provides' | 'Replaces')
+ value="$(ob_substvars "${value}" "${binary}")"
value="$(ob_reduce_deps \
-a "${OPK_HOST_ARCH}" \
-p "${OPK_HOST_PLAT}" \
-u -- "${value}")"
- value="$(ob_substvars "${value}" "${binary}")"
;;
esac
printf '%s: %s\n' "${name}" "${value}" | sed 's/[, ]*$//' >&3