Commit 10a7917c authored by Mike Hibler's avatar Mike Hibler

Just tar'ing up the whole pelab directory was getting too big for distributing

to slow plab nodes.  First cut at a selective creation.
parent 2bc81fac
#!/bin/sh
files="pelab/auto-pelab.ns pelab/common-env.sh pelab/dbmonitor pelab/libnetmon pelab/magent pelab/monitor pelab/pelabdb.pwd pelab/stub"
if [ $# != 1 ]; then
echo "usage: $0 tarball-path"
exit 1
fi
path=$1
if [ ! -d ../pelab ]; then
echo "should be run from 'pelab' subdir"
exit 1
fi
echo "##### cleaning up a little"
rm -f magent/*.o stub/*.o
strip magent/magent stub/stubd
echo "##### creating tarball $path from .."
tar czf $path -C .. $files
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment