From 00f9879b78f69c948545aca67d8342bbdc2d8f18 Mon Sep 17 00:00:00 2001
From: Jaime Melis <j.melis@fdi.ucm.es>
Date: Thu, 2 Sep 2010 17:49:18 +0200
Subject: [PATCH] bug #334: fixed bug in script

---
 src/tm_mad/tm_common.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tm_mad/tm_common.sh b/src/tm_mad/tm_common.sh
index f0ef498ca6..8b70998419 100644
--- a/src/tm_mad/tm_common.sh
+++ b/src/tm_mad/tm_common.sh
@@ -41,7 +41,7 @@ WGET=/usr/bin/wget
 
 function get_vmdir
 {
-    VMDIR=`$ONE_CONF | grep '^VM_DIR=' $ONE_LOCAL_VAR | cut -d= -f2`
+    VMDIR=`grep '^VM_DIR=' $ONE_LOCAL_VAR | cut -d= -f2`
 }
 
 function fix_paths