On 01/05/2017 07:59, Pierre Labastie wrote:
> One grep only works during the first run, afterwards I always get
>
> Are you happy with these optimization settings? yes/no (no): yes
> ------------------------------------------------------------------------------
>
> grep: /mnt/ALFS/jhalfs//mnt/ALFS/jhalfs/lfs-8.0/general.ent: Datei
> oder Verzeichnis nicht gefunden
>
> It is easy to see that the first part of the directory is double.
I've never seen this. But there is actually something wrong in jhalfs,
thanks for reporting:
We have at some point:
----
VERSION=$(grep 'ENTITY version ' $JHALFSDIR/$BOOK/general.ent| cut -d\" -f2)
----
But we also have:
----
BOOK=${BOOK:=$JHALFSDIR/$PROGNAME-$LFSVRS}
----
So if BOOK is not defined at this point, it will be set to
$JHALFSDIR/$PROGNAME-$LFSVRS, so that the path used in grep will have
$JHALFSDIR twice.
Fixed at r3962.
Pierre
--
http://lists.linuxfromscratch.org/listinfo/alfs-discuss
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page