aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron W. Swenson <titanofold@gentoo.org>2017-09-05 10:15:07 -0400
committerAaron W. Swenson <titanofold@gentoo.org>2017-09-05 10:15:07 -0400
commit638b7478a001ccde8418c9a2a5d7e253c0df0678 (patch)
treeea4367ce575aa16f1c84819f60417755841d5d7b /postgres-multi.eclass
parentsync with Gentoo repo (diff)
downloadeclass-638b7478a001ccde8418c9a2a5d7e253c0df0678.tar.gz
eclass-638b7478a001ccde8418c9a2a5d7e253c0df0678.tar.bz2
eclass-638b7478a001ccde8418c9a2a5d7e253c0df0678.zip
Use Simple Sort
Calling external commands during metadata regen is forbidden by PMS and breaks new secure cache regen. Use a simple sort instead. Gentoo-Bug: 629226
Diffstat (limited to 'postgres-multi.eclass')
-rw-r--r--postgres-multi.eclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/postgres-multi.eclass b/postgres-multi.eclass
index 5d40a0e..9eb7ca2 100644
--- a/postgres-multi.eclass
+++ b/postgres-multi.eclass
@@ -105,7 +105,8 @@ postgres-multi_forbest() {
postgres-multi_pkg_setup() {
local user_slot
- for user_slot in "${POSTGRES_COMPAT[@]}"; do
+ # _POSTGRES_COMPAT is created in postgres.eclass
+ for user_slot in "${_POSTGRES_COMPAT[@]}"; do
use "postgres_targets_postgres${user_slot/\./_}" && \
_POSTGRES_INTERSECT_SLOTS+=( "${user_slot}" )
done