summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Gardiner <obz@gentoo.org>2004-07-23 05:39:58 +0000
committerMike Gardiner <obz@gentoo.org>2004-07-23 05:39:58 +0000
commit9b4da535025788e90cd8a9c3ec2b97a925473f23 (patch)
tree7d53c1a0f05fd2408bc3dd6d41e195eb36ba3949 /eclass
parentRemoved sed usage on PVP from the global scope, and awk usage from (diff)
downloadgentoo-2-9b4da535025788e90cd8a9c3ec2b97a925473f23.tar.gz
gentoo-2-9b4da535025788e90cd8a9c3ec2b97a925473f23.tar.bz2
gentoo-2-9b4da535025788e90cd8a9c3ec2b97a925473f23.zip
Removed sed usage from the global scope in favour of bash regex, see bug
#55708
Diffstat (limited to 'eclass')
-rw-r--r--eclass/gnome.org.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/gnome.org.eclass b/eclass/gnome.org.eclass
index 6fa495db9f12..3affd67174ed 100644
--- a/eclass/gnome.org.eclass
+++ b/eclass/gnome.org.eclass
@@ -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/gnome.org.eclass,v 1.5 2004/06/25 00:39:48 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gnome.org.eclass,v 1.6 2004/07/23 05:39:58 obz Exp $
#
# Authors:
# Spidler <spidler@gentoo.org>
@@ -12,6 +12,6 @@ ECLASS="gnome.org"
INHERITED="$INHERITED $ECLASS"
[ -z "${GNOME_TARBALL_SUFFIX}" ] && export GNOME_TARBALL_SUFFIX="bz2"
-PVP=($(echo " $PV " | sed 's:[-\._]: :g'))
+PVP="${PV//[-\._]/ }"
SRC_URI="mirror://gnome/sources/${PN}/${PVP[0]}.${PVP[1]}/${P}.tar.${GNOME_TARBALL_SUFFIX}"