make-aux-files.sh 415 B

1234567891011
  1. #!/bin/bash
  2. rm -f lfs-network-scripts*.tar.bz2
  3. # Get base file name and move bootscripts directory to that name
  4. version=`grep "ENTITY lfs-network-scripts-version" packages.ent |cut -d'"' -f2`
  5. mv network-scripts lfs-network-scripts-$version
  6. # Create the tarball and clean up
  7. tar -cjf lfs-network-scripts-$version.tar.bz2 --exclude .svn lfs-network-scripts-$version
  8. mv lfs-network-scripts-$version network-scripts