Spelling
[linux_from_scratch.git] / make-aux-files.sh
blobc57352a9d4cba27e6a3a2b8ebb40589997089eb7
1 #!/bin/bash
3 rm -f lfs-bootscripts*.tar.bz2
5 # Get base file name and move bootscripts directory to that name
6 version=`grep "ENTITY lfs-bootscripts-version" packages.ent |cut -d'"' -f2`
7 mv bootscripts lfs-bootscripts-$version
9 # Create the tarball and clean up
10 tar -cjf lfs-bootscripts-$version.tar.bz2 --exclude .svn lfs-bootscripts-$version
11 mv lfs-bootscripts-$version bootscripts
13 rm -f udev-config*.bz2
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
19 # Create the tarball and clean up
20 tar -cjf $version.tar.bz2 --exclude .svn $version
21 mv $version udev-config