diff options
author | Pierre Labastie <pierre.labastie@neuf.fr> | 2021-09-01 16:53:14 +0200 |
---|---|---|
committer | Pierre Labastie <pierre.labastie@neuf.fr> | 2021-09-22 23:21:31 +0200 |
commit | a1422e112688734fb2dd71b008e7dee00c962cc6 (patch) | |
tree | f7af9e2839112f365c32b5301976ac25c00def04 /make-aux-files.sh | |
parent | 7146c9dc0cece2c8174c09af5d97c37ea136de8c (diff) |
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!
Diffstat (limited to 'make-aux-files.sh')
-rwxr-xr-x | make-aux-files.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/make-aux-files.sh b/make-aux-files.sh index 785ec1b64..27a8674f4 100755 --- a/make-aux-files.sh +++ b/make-aux-files.sh @@ -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 |