summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-03-05 14:08:36 +0000
committerbapt <bapt@FreeBSD.org>2013-03-05 14:08:36 +0000
commitc7071f4d0afc4f39a27dc56a3f26f41bf11d9144 (patch)
tree9e130baf07471fc8b36159c2f768badab00a2a38 /usr.sbin
parent2a77ba41037feab4e87b648711efe412e30e411c (diff)
downloadFreeBSD-src-c7071f4d0afc4f39a27dc56a3f26f41bf11d9144.zip
FreeBSD-src-c7071f4d0afc4f39a27dc56a3f26f41bf11d9144.tar.gz
choose in priority the allocated ABI if any to do the ${ABI} substitution in PACKAGESITE
Reviewed by: bdrewery
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pkg/config.c b/usr.sbin/pkg/config.c
index 4c0f0af..5924d57 100644
--- a/usr.sbin/pkg/config.c
+++ b/usr.sbin/pkg/config.c
@@ -376,7 +376,7 @@ finalize:
c[ABI].val = abi;
}
- subst_packagesite(c[ABI].val);
+ subst_packagesite(c[ABI].value != NULL ? c[ABI].value : c[ABI].val);
return (0);
}
OpenPOWER on IntegriCloud