[Pkg-xen-changes] r928 - trunk/xen-common/debian/scripts
Bastian Blank
waldi at alioth.debian.org
Wed Oct 26 22:39:52 UTC 2011
Author: waldi
Date: Wed Oct 26 22:39:51 2011
New Revision: 928
Log:
debian/scripts/xen-dir: Use correct directory again.
Modified:
trunk/xen-common/debian/scripts/xen-dir
Modified: trunk/xen-common/debian/scripts/xen-dir
==============================================================================
--- trunk/xen-common/debian/scripts/xen-dir Wed Oct 26 22:26:36 2011 (r927)
+++ trunk/xen-common/debian/scripts/xen-dir Wed Oct 26 22:39:51 2011 (r928)
@@ -1,7 +1,7 @@
#!/bin/sh -e
VERBOSE=1
-VERSION=$(. $(dirname $0)/xen-version); RET=$?; [ $RET -eq 0 ] || exit $RET
+VERSION=$(. /usr/lib/xen-common/bin/xen-version); RET=$?; [ $RET -eq 0 ] || exit $RET
if [ -d "/usr/lib/xen-$VERSION" ]; then
echo "/usr/lib/xen-$VERSION"
More information about the Pkg-xen-changes
mailing list