aboutsummaryrefslogtreecommitdiffstats
path: root/make-aux-files.sh
diff options
context:
space:
mode:
Diffstat (limited to 'make-aux-files.sh')
-rwxr-xr-xmake-aux-files.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/make-aux-files.sh b/make-aux-files.sh
index ad8bcea6f..9cb1adbff 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