Am Freitag, den 09.11.2018, 10:19 -0600 schrieb Bruce Dubbs via lfs-
dev:
> On 11/09/2018 09:44 AM, Pierre Labastie via lfs-dev wrote:
> > On 09/11/2018 14:30, Pierre Labastie via lfs-dev wrote:
> > > On 09/11/2018 13:38, John Frankish via lfs-dev wrote:
> > > > > As an aside, what is the first line of the current script meant to
> > > > > expand to?
> > > > >
> > > > > $ for file in gcc/config/{linux,i386/linux{,64}}.h
> > > > >
> > > > > ...
> > Hmm, sorry, I see that your system is tinycore64. AFAICS, there is no
> > dash shell in tinycore (unless you compiled it). It seems to have only
> > bash... But maybe it is a stripped down version of bash, not
> > interpreting double {. Or maybe you are using busybox shell (testing it
> > on debian shows it does not interpret the double {).
>
> The issue of dash vs bash should be handled in the version-check.sh
> script.
Maybe we add two lines to the version-check.sh:
X=$( echo X{1,2{,.{1,2}}} )
[ "$X" == "X1 X2 X2.1 X2.2" ] || \
echo "ERROR: Shell doesn't handle brace expansion correctly"
unset X
or something like that...
--
Thomas
--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page