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
commit21b1cd2f92163b70365ac4f8ebc09fea0bf6e862 (patch)
tree901cb0c1e3f0b5672e1a089ab1fa87c29e9d9a89 /eclass
parentRemoved sed usage on PVP from the global scope, and awk usage from (diff)
downloadhistorical-21b1cd2f92163b70365ac4f8ebc09fea0bf6e862.tar.gz
historical-21b1cd2f92163b70365ac4f8ebc09fea0bf6e862.tar.bz2
historical-21b1cd2f92163b70365ac4f8ebc09fea0bf6e862.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}"