Bastian Blank
2011-Oct-26 23:11 UTC
[Pkg-xen-changes] r937 - trunk/xen-common/debian/scripts
Author: waldi
Date: Wed Oct 26 23:11:27 2011
New Revision: 937
Log:
debian/scripts/xen-toolstack-wrapper: Show selected toolstack in error message.
Modified:
trunk/xen-common/debian/scripts/xen-toolstack-wrapper
Modified: trunk/xen-common/debian/scripts/xen-toolstack-wrapper
=============================================================================---
trunk/xen-common/debian/scripts/xen-toolstack-wrapper Wed Oct 26 23:04:26 2011
(r936)
+++ trunk/xen-common/debian/scripts/xen-toolstack-wrapper Wed Oct 26 23:11:27
2011 (r937)
@@ -4,7 +4,7 @@
TOOLSTACK=$(. /usr/lib/xen-common/bin/xen-toolstack); RET=$?; [ $RET -eq 0 ] ||
exit $RET
if [ "$(basename "$TOOLSTACK")" != "$COMMAND" ];
then
- echo "ERROR: A different toolstack have been selected!"
>&2
+ echo "ERROR: A different toolstack ($(basename
"$TOOLSTACK")) have been selected!" >&2
exit 1
fi