git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1384
d1e1f19c-881f-0410-ab34-
b69fee027534
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Id: $
+ 30 Mar 2008; Andrew Gaffney <agaffney@gentoo.org>
+ targets/support/kmerge.sh:
+ Run sed on KERNELVERSION to escape the slashes so we can use it in another
+ sed
+
30 Mar 2008; Andrew Gaffney <agaffney@gentoo.org>
targets/support/kmerge.sh:
Modify test to run if package.provided exists instead of if it doesn't Run
then
if [ -e /etc/portage/profile/package.provided ]
then
- sed -i "/^${KERNELVERSION}\$/d" /etc/portage/profile/package.provided
+ sed -i "/^$(echo "${KERNELVERSION}" | sed -e 's|/|\\/|g')\$/d" /etc/portage/profile/package.provided
fi
fi