Gentoo Archives: gentoo-catalyst

From: Ramon van Alteren <ramon@××××××××××.nl>
To: gentoo-catalyst@l.g.o
Subject: [gentoo-catalyst] stage4 bails out with catalyst 2.0.1 on stage4-chroot.sh
Date: Mon, 08 Jan 2007 11:10:30
Message-Id: 45A2267C.3090701@vanalteren.nl
1 Hi,
2
3 When building a stage4 I get the following error with catalyst-2.0.1:
4
5 * GNU info directory index is up-to-date.
6 Emerging packages using stage4 use flags
7 /tmp/stage4-chroot.sh: line 23: syntax error near unexpected token `fi'
8 /tmp/stage4-chroot.sh: line 23: `fi'
9
10 On / around line 23 is the following code in
11 /usr/lib/catalyst/targets/stage4/stage4-chroot.sh:
12
13 echo "Emerging packages using stage4 use flags"
14 if [ -n "${clst_use}" ]
15 USE="${clst_HOSTUSE} ${clst_use}"
16 fi
17
18 Changing that in:
19
20 echo "Emerging packages using stage4 use flags"
21 if [[ -n "${clst_use}" ]]; then
22 USE="${clst_HOSTUSE} ${clst_use}"
23 fi
24
25 Removes the problem.
26
27 Should I file a bug on b.g.o ??
28
29 Regards,
30
31 Ramon
32
33 --
34 gentoo-catalyst@g.o mailing list

Replies