public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Fabian Groffen (grobian)" <grobian@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in eclass: vim-plugin.eclass
Date: Sun, 16 Jan 2011 18:18:13 +0000 (UTC)	[thread overview]
Message-ID: <20110116181813.EEDD920054@flycatcher.gentoo.org> (raw)

grobian     11/01/16 18:18:13

  Modified:             vim-plugin.eclass
  Log:
  Fix logic error, resulting in bug #351401
  
  In Prefix there is no user Portage, even not when the user runs as root,
  in which case Portage would also run as root.  Result, never try to fix
  anything when running Prefix.

Revision  Changes    Path
1.26                 eclass/vim-plugin.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/vim-plugin.eclass?rev=1.26&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/vim-plugin.eclass?rev=1.26&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/vim-plugin.eclass?r1=1.25&r2=1.26

Index: vim-plugin.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/vim-plugin.eclass,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- vim-plugin.eclass	29 Oct 2010 07:01:08 -0000	1.25
+++ vim-plugin.eclass	16 Jan 2011 18:18:13 -0000	1.26
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/vim-plugin.eclass,v 1.25 2010/10/29 07:01:08 mduft Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/vim-plugin.eclass,v 1.26 2011/01/16 18:18:13 grobian Exp $
 #
 # This eclass simplifies installation of app-vim plugins into
 # /usr/share/vim/vimfiles.  This is a version-independent directory
@@ -23,7 +23,7 @@
 	has "${EAPI:-0}" 0 1 2 && ! use prefix && ED="${D}"
 	local f
 
-	if use !prefix || [[ ${EUID} -eq 0 ]] ; then
+	if use !prefix && [[ ${EUID} -eq 0 ]] ; then
 		ebegin "Fixing file permissions"
 		# Make sure perms are good
 		chmod -R a+rX "${S}" || die "chmod failed"






             reply	other threads:[~2011-01-16 18:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-16 18:18 Fabian Groffen (grobian) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-10-29  7:01 [gentoo-commits] gentoo-x86 commit in eclass: vim-plugin.eclass Markus Duft (mduft)
2010-10-29  6:44 Markus Duft (mduft)
2008-08-30  7:59 Ali Polatel (hawking)
2008-08-14  7:45 Ali Polatel (hawking)

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=20110116181813.EEDD920054@flycatcher.gentoo.org \
    --to=grobian@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