From 4fd6f148afaa24edd03f296cd2c200be9b59458b Mon Sep 17 00:00:00 2001 From: Shireesh Anjal Date: Tue, 13 Dec 2011 12:25:12 +0530 Subject: Modified Utils.py to use version placeholder @VERSION@ while forming commandPath, which will be replaced with actual version number during build. --- src/org.gluster.storage.management.gateway.scripts/src/common/Utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/org.gluster.storage.management.gateway.scripts/src/common') diff --git a/src/org.gluster.storage.management.gateway.scripts/src/common/Utils.py b/src/org.gluster.storage.management.gateway.scripts/src/common/Utils.py index bdc47f60..597f3fb6 100644 --- a/src/org.gluster.storage.management.gateway.scripts/src/common/Utils.py +++ b/src/org.gluster.storage.management.gateway.scripts/src/common/Utils.py @@ -43,7 +43,7 @@ sshCommandPrefix = "ssh -l root -q -i /opt/glustermg/keys/gluster.pem -o BatchMo try: commandPath = "/opt/glustermg/%s/backend" % os.environ['GMG_VERSION'] except KeyError, e: - commandPath = "/opt/glustermg/1.0.0/backend" + commandPath = "/opt/glustermg/@VERSION@/backend" def log(priority, message=None): global logOpened -- cgit