summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Sapp <nixphoeni@gentoo.org>2009-05-13 02:11:24 +0000
committerJoe Sapp <nixphoeni@gentoo.org>2009-05-13 02:11:24 +0000
commit302e99297a9e61c2d9c9e0a60474cd37f5522640 (patch)
tree867d3415a0708d68759fee223f8bcecb7fadcb26 /eclass/gdesklets.eclass
parentRemoved previous version, which was still unstable until about halfway throug... (diff)
downloadgentoo-2-302e99297a9e61c2d9c9e0a60474cd37f5522640.tar.gz
gentoo-2-302e99297a9e61c2d9c9e0a60474cd37f5522640.tar.bz2
gentoo-2-302e99297a9e61c2d9c9e0a60474cd37f5522640.zip
Make the search for external scripts smarter
Diffstat (limited to 'eclass/gdesklets.eclass')
-rw-r--r--eclass/gdesklets.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/gdesklets.eclass b/eclass/gdesklets.eclass
index 815ec7ddb8b0..df0b643a5064 100644
--- a/eclass/gdesklets.eclass
+++ b/eclass/gdesklets.eclass
@@ -1,6 +1,6 @@
# Copyright 2004-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/eclass/gdesklets.eclass,v 1.17 2009/04/28 00:57:18 nixphoeni Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gdesklets.eclass,v 1.18 2009/05/13 02:11:24 nixphoeni Exp $
#
# Authors: Joe Sapp <nixphoeni@gentoo.org>
# Mike Gardiner <obz@gentoo.org>
@@ -104,7 +104,7 @@ gdesklets_src_install() {
doins "${DSP}"
SCRIPTS=$(grep "script .*uri" ${DSP} | \
- sed -e 's:.*<script .*uri=": :g' -e 's:"/>.*: :g')
+ sed -e "s:.*<script\b.*\buri=[\"']: :g" -e "s:[\"'].*/>.*: :g")
# For each one of the scripts, change to its
# base directory and change the install location