summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Drake <dsd@gentoo.org>2007-02-05 14:51:07 +0000
committerDaniel Drake <dsd@gentoo.org>2007-02-05 14:51:07 +0000
commitb1efabe21b79afec706663262bf30203d4fa551a (patch)
treec1b503a2bbcf2bde5ec9418d3452c2c270567bdd /eclass/linux-mod.eclass
parentclean old (diff)
downloadhistorical-b1efabe21b79afec706663262bf30203d4fa551a.tar.gz
historical-b1efabe21b79afec706663262bf30203d4fa551a.tar.bz2
historical-b1efabe21b79afec706663262bf30203d4fa551a.zip
Fix bad sed arguments thanks to Georgi Georgiev in bug #165230
Diffstat (limited to 'eclass/linux-mod.eclass')
-rw-r--r--eclass/linux-mod.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass
index 8c6f6e44a4b1..952e50001c1e 100644
--- a/eclass/linux-mod.eclass
+++ b/eclass/linux-mod.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/linux-mod.eclass,v 1.70 2007/01/01 22:27:01 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.71 2007/02/05 14:51:07 dsd Exp $
# Description: This eclass is used to interface with linux-info in such a way
# to provide the functionality required and initial functions
@@ -230,7 +230,7 @@ remove_moduledb() {
if [[ -n $(grep ${CATEGORY}/${PN}-${PVR} ${MODULEDB_DIR}/moduledb) ]]; then
einfo "Removing ${CATEGORY}/${PN}-${PVR} from moduledb."
- sed -ie "/.*${CATEGORY}\/${PN}-${PVR}.*/d" ${MODULEDB_DIR}/moduledb
+ sed -i -e "/.*${CATEGORY}\/${PN}-${PVR}.*/d" ${MODULEDB_DIR}/moduledb
fi
}