Fix make-aux-file for lfs-bootscript entities

now, grep returns two lines. Keep only the first one, and
add a comment in packages;ent so that the first line is the
one we want!
This commit is contained in:
Pierre Labastie 2021-09-01 16:53:14 +02:00
parent 7146c9dc0c
commit a1422e1126

View File

@ -3,7 +3,7 @@
rm -f lfs-bootscripts*.tar.?z*
# Get base file name and move bootscripts directory to that name
version=`grep "ENTITY lfs-bootscripts-version" packages.ent |cut -d'"' -f2`
version=`grep "ENTITY lfs-bootscripts-version" packages.ent | head -n1| cut -d'"' -f2`
mv bootscripts lfs-bootscripts-$version
# Create the tarball and clean up