summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorShireesh Anjal <shireesh@gluster.com>2011-12-13 12:25:12 +0530
committerShireesh Anjal <shireesh@gluster.com>2011-12-13 12:25:12 +0530
commit4fd6f148afaa24edd03f296cd2c200be9b59458b (patch)
tree70a70bd018ea90a7182808818197b10ef9e7331f /src
parent4f3688f198656746238b3ee61ac1001458b503ec (diff)
Modified Utils.py to use version placeholder @VERSION@ while forming commandPath, which will be replaced with actual version number during build.
Diffstat (limited to 'src')
-rw-r--r--src/org.gluster.storage.management.gateway.scripts/src/common/Utils.py2
1 files changed, 1 insertions, 1 deletions
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