2011-03-21 15:00:30 -04:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
BASE=$1
|
|
|
|
|
|
|
|
if [ x$BASE = "x" ] ; then
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
cd $BASE || exit 1
|
|
|
|
svn update || exit 1
|
2011-03-21 15:12:54 -04:00
|
|
|
./waf configure --strict --noconfirm || exit 1
|
2011-03-21 15:00:30 -04:00
|
|
|
./waf || exit 1
|
|
|
|
cd tools/linux_packaging || exit 1
|
|
|
|
./build --public || exit 1
|
|
|
|
file=`ls -t *.bz2 | head -1`
|
2011-03-21 15:12:54 -04:00
|
|
|
echo "Copying $file to shared zone"
|
2011-03-21 15:05:47 -04:00
|
|
|
#cp $file $BASE/../vmshare || exit 1
|
2011-03-21 15:00:30 -04:00
|
|
|
|
2011-03-21 15:12:54 -04:00
|
|
|
exit 0
|