[Pkg-xen-changes] r931 - trunk/xen-common/debian/scripts
Bastian Blank
waldi at alioth.debian.org
Wed Oct 26 22:54:30 UTC 2011
Author: waldi
Date: Wed Oct 26 22:54:29 2011
New Revision: 931
Log:
debian/scripts/xen: Add script to execute current toolstack.
Added:
trunk/xen-common/debian/scripts/xen (contents, props changed)
Added: trunk/xen-common/debian/scripts/xen
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/xen-common/debian/scripts/xen Wed Oct 26 22:54:29 2011 (r931)
@@ -0,0 +1,6 @@
+#!/bin/sh -e
+
+COMMAND="$(basename $0)"
+TOOLSTACK=$(. /usr/lib/xen-common/bin/xen-toolstack); RET=$?; [ $RET -eq 0 ] || exit $RET
+
+exec "$TOOLSTACK" "$@"
More information about the Pkg-xen-changes
mailing list