[25611] in Source-Commits

home help back first fref pref prev next nref lref last post

/svn/athena r25124 - trunk/debathena/scripts

daemon@ATHENA.MIT.EDU (Geoffrey Thomas)
Mon May 2 16:35:41 2011

Date: Mon, 2 May 2011 16:35:35 -0400
From: Geoffrey Thomas <geofft@MIT.EDU>
Message-Id: <201105022035.p42KZZNT027856@drugstore.mit.edu>
To: source-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: geofft
Date: 2011-05-02 16:35:35 -0400 (Mon, 02 May 2011)
New Revision: 25124

Modified:
   trunk/debathena/scripts/daschroot
Log:
daschroot: Tell me what session I'm in

Modified: trunk/debathena/scripts/daschroot
===================================================================
--- trunk/debathena/scripts/daschroot	2011-05-02 07:59:32 UTC (rev 25123)
+++ trunk/debathena/scripts/daschroot	2011-05-02 20:35:35 UTC (rev 25124)
@@ -16,5 +16,8 @@
 
 session=$(schroot -c "$dist-$arch-sbuild" -b)
 schroot -c "$session" -r -u root -- env SBUILD_BUILD_CONF_DISTRIBUTION="$dist" "$(readlink -f "$(dirname "$0")/chroot-sources")"
+if [ "$#" -gt 0 ]; then
+    echo "I: Entering schroot session $session"
+fi
 schroot -c "$session" -r "$@"
 schroot -c "$session" -e


home help back first fref pref prev next nref lref last post