diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2013-01-11 22:01:45 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2013-01-11 22:01:45 (GMT) |
commit | 45bf3873f34c29ca57bdc0a4811a12f89884a022 (patch) | |
tree | bd0222355535c20068d224131c3844ff21863534 /tools | |
parent | b980fd9e4783bcfb489cf5d3fbe078852985ceab (diff) |
Only build the snapshot, buildbot will upload
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/build-snapshot | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/tools/build-snapshot b/tools/build-snapshot deleted file mode 100755 index 7aaa1ea..0000000 --- a/tools/build-snapshot +++ /dev/null @@ -1,57 +0,0 @@ -#!/bin/sh - -toolsdir=`dirname "$0"` -basedir=`dirname "$toolsdir"` - -if [ "$#" -eq 0 ]; then - echo "build-snapshot [destination directory]" - exit 1 -fi - -destdir=`dirname $1` -filename=`basename $1` -rootdir=sugar-snapshot - -mkdir -p $destdir -ln -s `pwd` $destdir/$rootdir - -cd $destdir - -tar chf $filename \ - $rootdir/config \ - $rootdir/devbot \ - $rootdir/install \ - $rootdir/commands/check-system \ - $rootdir/commands/common.py \ - $rootdir/commands/bashrc \ - $rootdir/commands/run \ - $rootdir/commands/shell - -rm $rootdir -mkdir $rootdir - -runsugarscript=$rootdir/run-sugar.sh - -cat > $runsugarscript << "EOF" -#!/bin/sh - -commands/run -EOF - -chmod +x $runsugarscript - -runshellscript=$rootdir/run-shell.sh - -cat > $runshellscript << "EOF" -#!/bin/sh - -commands/shell -EOF - -chmod +x $runshellscript - -tar rh -f $filename $runshellscript $runsugarscript - -rm -rf $rootdir - -xz $filename |