From: "Aaron Swenson" <titanofold@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/pgsql-patches:eselect commit in: /
Date: Fri, 1 Apr 2011 11:49:06 +0000 (UTC) [thread overview]
Message-ID: <0bb7d06bb13db7b063004bba9bdc8cac53ebb3df.titanofold@gentoo> (raw)
commit: 0bb7d06bb13db7b063004bba9bdc8cac53ebb3df
Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 1 11:48:17 2011 +0000
Commit: Aaron Swenson <titanofold <AT> gentoo <DOT> org>
CommitDate: Fri Apr 1 11:48:17 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/pgsql-patches.git;a=commit;h=0bb7d06b
Fixed bitness test so that a false positive doesn't happen.
Remove another set of quotes within [[ ]].
---
postgresql.eselect | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/postgresql.eselect b/postgresql.eselect
index 84e1167..07b5383 100644
--- a/postgresql.eselect
+++ b/postgresql.eselect
@@ -25,10 +25,10 @@ active_slot() {
lib_dir() {
local lib_list=$(list_libdirs)
if [[ ${lib_list} =~ .*lib64.* && \
- $(ls -d ${B_PATH}/lib64/postgresql-*/lib) != "" ]] ; then
+ -n $(ls -d ${B_PATH}/lib64/postgresql-*/lib 2> /dev/null) ]] ; then
echo "lib64"
elif [[ ${lib_list} =~ .*lib32.* && \
- $(ls -d ${B_PATH}/lib32/postgresql-*/lib) != "" ]] ; then
+ -n $(ls -d ${B_PATH}/lib32/postgresql-*/lib 2> /dev/null) ]] ; then
echo "lib32"
else
echo "lib"
@@ -113,7 +113,7 @@ do_list() {
esac
done
- [[ -z "${postgres_ebuilds}" ]] && write_warning_msg "No slots available."
+ [[ -z ${postgres_ebuilds} ]] && write_warning_msg "No slots available."
fi
}
next reply other threads:[~2011-04-01 11:49 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-01 11:49 Aaron Swenson [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-11-21 11:38 [gentoo-commits] proj/pgsql-patches:eselect commit in: / Aaron Swenson
2013-11-21 11:19 Aaron Swenson
2013-07-27 21:42 Aaron Swenson
2013-07-27 21:34 Aaron Swenson
2013-07-13 14:06 Aaron Swenson
2013-06-13 10:33 Aaron Swenson
2013-02-08 12:35 Aaron Swenson
2013-02-03 13:35 Aaron Swenson
2012-02-22 11:43 Aaron Swenson
2011-04-26 21:46 Aaron Swenson
2011-04-26 21:46 Aaron Swenson
2011-04-24 13:18 Aaron Swenson
2011-04-22 10:45 Aaron Swenson
2011-04-22 10:27 Aaron Swenson
2011-04-22 10:08 Aaron Swenson
2011-04-21 23:30 Aaron Swenson
2011-04-21 23:27 Aaron Swenson
2011-04-19 0:45 Aaron Swenson
2011-04-14 11:52 Aaron Swenson
2011-04-02 11:24 Aaron Swenson
2011-04-01 11:51 Aaron Swenson
2011-04-01 11:43 Aaron Swenson
2011-04-01 11:14 Aaron Swenson
2011-03-29 19:34 Aaron Swenson
2011-03-29 19:34 Aaron Swenson
2011-03-27 13:28 Aaron Swenson
2011-03-26 2:13 Aaron Swenson
2011-03-24 22:41 Aaron Swenson
2011-03-22 3:07 Aaron Swenson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0bb7d06bb13db7b063004bba9bdc8cac53ebb3df.titanofold@gentoo \
--to=titanofold@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox