1 |
commit: bbb80be449b55d79003ab6692a6e28e579a3ecf7 |
2 |
Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 1 11:51:10 2011 +0000 |
4 |
Commit: Aaron Swenson <titanofold <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 1 11:51:10 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/pgsql-patches.git;a=commit;h=bbb80be4 |
7 |
|
8 |
Fixed path so that it looks for something that'll actually exist. |
9 |
|
10 |
--- |
11 |
postgresql.eselect | 4 ++-- |
12 |
1 files changed, 2 insertions(+), 2 deletions(-) |
13 |
|
14 |
diff --git a/postgresql.eselect b/postgresql.eselect |
15 |
index 07b5383..e4cc599 100644 |
16 |
--- a/postgresql.eselect |
17 |
+++ b/postgresql.eselect |
18 |
@@ -25,10 +25,10 @@ active_slot() { |
19 |
lib_dir() { |
20 |
local lib_list=$(list_libdirs) |
21 |
if [[ ${lib_list} =~ .*lib64.* && \ |
22 |
- -n $(ls -d ${B_PATH}/lib64/postgresql-*/lib 2> /dev/null) ]] ; then |
23 |
+ -n $(ls -d ${B_PATH}/lib64/postgresql-*/lib64 2> /dev/null) ]] ; then |
24 |
echo "lib64" |
25 |
elif [[ ${lib_list} =~ .*lib32.* && \ |
26 |
- -n $(ls -d ${B_PATH}/lib32/postgresql-*/lib 2> /dev/null) ]] ; then |
27 |
+ -n $(ls -d ${B_PATH}/lib32/postgresql-*/lib32 2> /dev/null) ]] ; then |
28 |
echo "lib32" |
29 |
else |
30 |
echo "lib" |