QPID-5448 - Cherry-picked this fix to the 0.1 release branch.


git-svn-id: https://svn.apache.org/repos/asf/qpid/dispatch/branches/0.1@1555125 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/tools/qdstat.in b/tools/qdstat.in
index ecc8b91..a4c70db 100755
--- a/tools/qdstat.in
+++ b/tools/qdstat.in
@@ -27,7 +27,7 @@
 import re
 from proton import Messenger, Message, Timeout
 
-home = os.environ.get("QPID_DISPATCH_HOME", os.path.normpath("${QPID_DISPATCH_HOME}"))
+home = os.environ.get("QPID_DISPATCH_HOME", os.path.normpath("${QPID_DISPATCH_HOME_INSTALLED}"))
 sys.path.append(os.path.join(home, "python"))
 
 from qpid_dispatch_internal.tools import Display, Header, Sorter, YN, Commas, TimeLong