mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-18 04:57:38 +00:00
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:
parent
7146c9dc0c
commit
a1422e1126
@ -3,7 +3,7 @@
|
|||||||
rm -f lfs-bootscripts*.tar.?z*
|
rm -f lfs-bootscripts*.tar.?z*
|
||||||
|
|
||||||
# Get base file name and move bootscripts directory to that name
|
# 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
|
mv bootscripts lfs-bootscripts-$version
|
||||||
|
|
||||||
# Create the tarball and clean up
|
# Create the tarball and clean up
|
||||||
|
Loading…
Reference in New Issue
Block a user