From: "Raul Porcel (armin76)" <armin76@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in eclass: mozextension.eclass
Date: Thu, 20 Dec 2007 15:43:15 +0000 [thread overview]
Message-ID: <E1J5NYJ-0007Lx-3K@stork.gentoo.org> (raw)
armin76 07/12/20 15:43:15
Modified: mozextension.eclass
Log:
Fix mozextension.eclass wrt bug #202847, patch by Nirbheek Chauhan <nirbheek dot chauhan at gmail dot com>
Revision Changes Path
1.4 eclass/mozextension.eclass
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mozextension.eclass?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mozextension.eclass?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mozextension.eclass?r1=1.3&r2=1.4
Index: mozextension.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/mozextension.eclass,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- mozextension.eclass 12 Mar 2007 11:57:49 -0000 1.3
+++ mozextension.eclass 20 Dec 2007 15:43:14 -0000 1.4
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mozextension.eclass,v 1.3 2007/03/12 11:57:49 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mozextension.eclass,v 1.4 2007/12/20 15:43:14 armin76 Exp $
#
# mozextention.eclass: installing firefox extensions and language packs
@@ -17,9 +17,9 @@
for xpi in "$@"; do
einfo "Unpacking ${xpi} to ${PWD}"
- xpiname=${xpi%.*}
+ xpiname=$(basename ${xpi%.*})
- if [[ "${xpi:0:2}" != "./" ]] ; then
+ if [[ "${xpi:0:2}" != "./" ]] && [[ "${xpi:0:1}" != "/" ]] ; then
srcdir="${DISTDIR}/"
fi
--
gentoo-commits@gentoo.org mailing list
next reply other threads:[~2007-12-20 16:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-20 15:43 Raul Porcel (armin76) [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-12-30 3:06 [gentoo-commits] gentoo-x86 commit in eclass: mozextension.eclass Jory Pratt (anarchy)
2011-10-31 12:28 Jory Pratt (anarchy)
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=E1J5NYJ-0007Lx-3K@stork.gentoo.org \
--to=armin76@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