source: make-aux-files.sh@ 0ab6aa3

multilib
Last change on this file since 0ab6aa3 was a1422e1, checked in by Pierre Labastie <pierre.labastie@…>, 3 years ago

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!

  • Property mode set to 100755
File size: 682 bytes
Line 
1#!/bin/bash
2
3rm -f lfs-bootscripts*.tar.?z*
4
5# Get base file name and move bootscripts directory to that name
6version=`grep "ENTITY lfs-bootscripts-version" packages.ent | head -n1| cut -d'"' -f2`
7mv bootscripts lfs-bootscripts-$version
8
9# Create the tarball and clean up
10tar -cJf lfs-bootscripts-$version.tar.xz --exclude .svn lfs-bootscripts-$version
11mv lfs-bootscripts-$version bootscripts
12
13#rm -f udev-config*.bz2
14
15# Get file name and move udev config directory to that name
16#version=`grep "ENTITY udev-config " packages.ent |cut -d'"' -f2`
17#mv udev-config $version
18
19# Create the tarball and clean up
20#tar -cjf $version.tar.bz2 --exclude .svn $version
21#mv $version udev-config
22
Note: See TracBrowser for help on using the repository browser.