1 |
Author: agaffney |
2 |
Date: 2008-03-30 22:27:49 +0000 (Sun, 30 Mar 2008) |
3 |
New Revision: 1384 |
4 |
|
5 |
Modified: |
6 |
trunk/ChangeLog |
7 |
trunk/targets/support/kmerge.sh |
8 |
Log: |
9 |
Run sed on KERNELVERSION to escape the slashes so we can use it in another sed |
10 |
|
11 |
Modified: trunk/ChangeLog |
12 |
=================================================================== |
13 |
--- trunk/ChangeLog 2008-03-30 21:47:23 UTC (rev 1383) |
14 |
+++ trunk/ChangeLog 2008-03-30 22:27:49 UTC (rev 1384) |
15 |
@@ -3,6 +3,11 @@ |
16 |
|
17 |
30 Mar 2008; Andrew Gaffney <agaffney@g.o> |
18 |
targets/support/kmerge.sh: |
19 |
+ Run sed on KERNELVERSION to escape the slashes so we can use it in another |
20 |
+ sed |
21 |
+ |
22 |
+ 30 Mar 2008; Andrew Gaffney <agaffney@g.o> |
23 |
+ targets/support/kmerge.sh: |
24 |
Modify test to run if package.provided exists instead of if it doesn't Run |
25 |
sed on the correct file |
26 |
|
27 |
|
28 |
Modified: trunk/targets/support/kmerge.sh |
29 |
=================================================================== |
30 |
--- trunk/targets/support/kmerge.sh 2008-03-30 21:47:23 UTC (rev 1383) |
31 |
+++ trunk/targets/support/kmerge.sh 2008-03-30 22:27:49 UTC (rev 1384) |
32 |
@@ -242,6 +242,6 @@ |
33 |
then |
34 |
if [ -e /etc/portage/profile/package.provided ] |
35 |
then |
36 |
- sed -i "/^${KERNELVERSION}\$/d" /etc/portage/profile/package.provided |
37 |
+ sed -i "/^$(echo "${KERNELVERSION}" | sed -e 's|/|\\/|g')\$/d" /etc/portage/profile/package.provided |
38 |
fi |
39 |
fi |
40 |
|
41 |
-- |
42 |
gentoo-commits@l.g.o mailing list |