diff options
author | 2012-02-16 13:16:24 +1300 | |
---|---|---|
committer | 2012-02-16 13:16:24 +1300 | |
commit | d48aaf19f23447d4fb28b2b6e88fd7b97df36e40 (patch) | |
tree | 057f80296ba959b3c4e8a35c61c37bef4d1e15e7 | |
parent | [eclass] Add a completely untested diagnostics routine to perl-module.eclass (diff) | |
download | perl-overlay-d48aaf19f23447d4fb28b2b6e88fd7b97df36e40.tar.gz perl-overlay-d48aaf19f23447d4fb28b2b6e88fd7b97df36e40.tar.bz2 perl-overlay-d48aaf19f23447d4fb28b2b6e88fd7b97df36e40.zip |
Fix a minor logic check, because env is a builtin
-rw-r--r-- | eclass/perl-module.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass index 78c1765e9..5115b804f 100644 --- a/eclass/perl-module.eclass +++ b/eclass/perl-module.eclass @@ -84,7 +84,7 @@ perl_diagnostics() { d=$( perl_diagfile ); echo "perl: $(which perl)" > $d; echo >> $d; - if [[ -x $(which grep) && -x $(which env)]]; then + if [[ -x $(which grep) ]]; then echo "interesting ENV values:" >> $d; env | grep "^\(PERL\|HOME=\|MANPATH\|PATH\|TEST\|GENTOO_PERL\)" \ >> $d; |