summaryrefslogtreecommitdiffstats
path: root/VDEPENDS
diff options
context:
space:
mode:
Diffstat (limited to 'VDEPENDS')
-rw-r--r--VDEPENDS2
1 files changed, 1 insertions, 1 deletions
diff --git a/VDEPENDS b/VDEPENDS
index 7c504ea569..a85cbbefc3 100644
--- a/VDEPENDS
+++ b/VDEPENDS
@@ -60,7 +60,7 @@ vdepends() {
read rest <<< "$rest"
# parse and check versions
iver="$(spell_ok "$dep" && installed_version "$dep")"
- gver="$(codex_set_current_spell "$dep" && echo "$VERSION")"
+ gver="$(codex_set_current_spell_by_name "$dep" && echo "$VERSION")"
while [ -n "$rest" ] && read op depver rest <<< "$rest"; do
[ -n "$iver" ] && vdepends_vercheck "$iver" "$op" "$depver" && continue
if [ "$gver" = "$iver" ] || ! vdepends_vercheck "$gver" "$op" "$depver"