Author: benm
Date: 2005-03-30 20:49:01 -0500 (Wed, 30 Mar 2005)
New Revision: 42409
Added:
trunk/release/packaging/reset-build
Modified:
trunk/release/packaging/build
Log:
Fix the directory name, and add reset-build script
Modified: trunk/release/packaging/build
===================================================================
--- trunk/release/packaging/build 2005-03-31 01:40:49 UTC (rev 42408)
+++ trunk/release/packaging/build 2005-03-31 01:49:01 UTC (rev 42409)
@@ -32,11 +32,11 @@
scp do-build $target_host:$jaildir/tmp >& logs/$1
remote_cmd="$chroot $jaildir sh -x /tmp/do-build $package"
(echo > status/$1; ssh $target_host "sudo $remote_cmd" >& logs/$1; rm
status/$1)
-scp $target_host:/tmp/status /tmp/status-$1-$2
+scp $target_host:$jaildir/tmp/status /tmp/status-$1-$2
if grep -q failure /tmp/status-$1-$2; then
echo Build failed, see log in logs/$1 for details
exit 1;
fi
mkdir -p packages/$1/$2
-scp $target_host:/tmp/root/built-packages/* packages/$1/$2
+scp $target_host:$jaildir/tmp/root/built-packages/* packages/$1/$2
Added: trunk/release/packaging/reset-build
===================================================================
--- trunk/release/packaging/reset-build 2005-03-31 01:40:49 UTC (rev 42408)
+++ trunk/release/packaging/reset-build 2005-03-31 01:49:01 UTC (rev 42409)
@@ -0,0 +1,3 @@
+#!/bin/sh
+rm logs/*
+rm status/*
Property changes on: trunk/release/packaging/reset-build
___________________________________________________________________
Name: svn:executable
+ *
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches