From 19add24cd6ecc2a002fae684684e476bae8b1cb9 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Sat, 4 Jul 2009 21:33:41 -0500
Subject: linhes-config:correct name of stored commands for user_call. escape
 out command line args before storing to file

---
 abs/core-testing/LinHES-config/myth_user_call.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/abs/core-testing/LinHES-config/myth_user_call.py b/abs/core-testing/LinHES-config/myth_user_call.py
index 817f78f..63915a4 100755
--- a/abs/core-testing/LinHES-config/myth_user_call.py
+++ b/abs/core-testing/LinHES-config/myth_user_call.py
@@ -25,7 +25,7 @@ def chroot_check():
 
 
 def store_commands(full_call):
-    file_name = "/root/myth_call_user.out"
+    file_name = "/root/myth_user_call.out"
     try:
         f = open(file_name,'a')
     except:
@@ -123,13 +123,13 @@ def main(argv):
             sys.exit(0)
         elif opt in ("-c") :
             module = arg
-            full_call += ''' -c "%s" ''' %re.escape(arg)
+            full_call += ''' -c %s ''' %re.escape(arg)
         elif opt in ("-u") :
             username = arg
-            full_call += ''' -u "%s" ''' %re.escape(arg)
+            full_call += ''' -u %s ''' %re.escape(arg)
         elif opt in ("-p") :
             password = arg
-            full_call += ''' -p "%s" ''' %re.escape(arg)
+            full_call += ''' -p %s ''' %re.escape(arg)
         elif opt in ("-i") :
             INIT_CHECK = False
             full_call += ''' -i '''
-- 
cgit v0.12

