Gentoo Archives: gentoo-commits

From: "Chris Gianelloni (wolf31o2)" <wolf31o2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] catalyst r1336 - in trunk: . targets/stage1 targets/support
Date: Thu, 28 Feb 2008 04:44:21
Message-Id: E1JUacz-0000Ij-8K@stork.gentoo.org
1 Author: wolf31o2
2 Date: 2008-02-28 04:44:16 +0000 (Thu, 28 Feb 2008)
3 New Revision: 1336
4
5 Modified:
6 trunk/ChangeLog
7 trunk/targets/stage1/stage1-chroot.sh
8 trunk/targets/support/kmerge.sh
9 Log:
10 OK, we have to escape our quotes, rather than use single quotes, or we don't evaluate the variables properly.
11
12 Modified: trunk/ChangeLog
13 ===================================================================
14 --- trunk/ChangeLog 2008-02-28 04:33:14 UTC (rev 1335)
15 +++ trunk/ChangeLog 2008-02-28 04:44:16 UTC (rev 1336)
16 @@ -2,6 +2,11 @@
17 # $Id: $
18
19 28 Feb 2008; Chris Gianelloni <wolf31o2@g.o>
20 + targets/stage1/stage1-chroot.sh, targets/support/kmerge.sh:
21 + OK, we have to escape our quotes, rather than use single quotes, or we don't
22 + evaluate the variables properly.
23 +
24 + 28 Feb 2008; Chris Gianelloni <wolf31o2@g.o>
25 targets/stage1/stage1-chroot.sh, targets/support/chroot-functions.sh,
26 targets/support/kmerge.sh:
27 Fixing echo/sed for make.conf writing.
28
29 Modified: trunk/targets/stage1/stage1-chroot.sh
30 ===================================================================
31 --- trunk/targets/stage1/stage1-chroot.sh 2008-02-28 04:33:14 UTC (rev 1335)
32 +++ trunk/targets/stage1/stage1-chroot.sh 2008-02-28 04:44:16 UTC (rev 1336)
33 @@ -28,7 +28,7 @@
34 sed -i '/USE="${USE} -build"/d' /etc/make.conf
35
36 [ -e /etc/make.conf ] && \
37 - echo 'USE="-* bindist build ${STAGE1_USE} ${HOSTUSE}"' >> /etc/make.conf
38 + echo "USE=\"-* bindist build ${STAGE1_USE} ${HOSTUSE}\"" >> /etc/make.conf
39 run_merge "--noreplace --oneshot --newuse ${clst_buildpkgs}"
40 sed -i '/USE="-* bindist build ${STAGE1_USE} ${HOSTUSE}"/d' \
41 /etc/make.conf
42
43 Modified: trunk/targets/support/kmerge.sh
44 ===================================================================
45 --- trunk/targets/support/kmerge.sh 2008-02-28 04:33:14 UTC (rev 1335)
46 +++ trunk/targets/support/kmerge.sh 2008-02-28 04:44:16 UTC (rev 1336)
47 @@ -184,8 +184,8 @@
48 fi
49 fi
50
51 -[ -e /etc/make.conf ] && echo 'USE="${USE} ${clst_kernel_use} symlink build"' \
52 - >> /etc/make.conf
53 +[ -e /etc/make.conf ] && \
54 + echo \"USE="${USE} ${clst_kernel_use} symlink build\"" >> /etc/make.conf
55
56 if [ -n "${clst_KERNCACHE}" ]
57 then
58
59 --
60 gentoo-commits@l.g.o mailing list