2013-05-18 12:52:02 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
2013-05-18 13:28:30 +01:00
|
|
|
rm -f lfs-network-scripts*.tar.bz2
|
2013-05-18 12:52:02 +01:00
|
|
|
|
|
|
|
# Get base file name and move bootscripts directory to that name
|
2013-05-18 13:28:30 +01:00
|
|
|
version=`grep "ENTITY lfs-network-scripts-version" packages.ent |cut -d'"' -f2`
|
|
|
|
mv network-scripts lfs-network-scripts-$version
|
2013-05-18 12:52:02 +01:00
|
|
|
|
|
|
|
# Create the tarball and clean up
|
2013-05-18 13:28:30 +01:00
|
|
|
tar -cjf lfs-network-scripts-$version.tar.bz2 --exclude .svn lfs-network-scripts-$version
|
|
|
|
mv lfs-network-scripts-$version network-scripts
|