--- Em dom, 6/1/13, Tobias Gasser escreveu:
> De: Tobias Gasser
> Assunto: Re: [lfs-support] can't compile gcc pass 1
> Para: "LFS Support List"
> Data: Domingo, 6 de Janeiro de 2013, 8:35
>
> > AWK=`readlink -f /usr/bin/awk`
> > awk=/usr/bin/awk
> > [ "$AWK" == "/usr/bin/gawk" ] || die "$awk is not
> a symlink to gawk"
>
> some distros started to drop the /usr hierarchy
>
> the script should be a little smarter to accept the files
> not only in
> /usr/bin but just anywhere in $PATH
>
> something like
>
> awk=$( which awk )
> AWK=$( readlink -f "${awk}" )
> [ "${AWK%%\/gawk}" == "${AWK}" ] && die...
It seems that there are extras spaces in other lines.
[]s,
Fernando
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page