From 2c4dbf6703ff6b17c16bcd7d54b8d966a1203d0c Mon Sep 17 00:00:00 2001 From: Janik Zikovsky <zikovskyjl@ornl.gov> Date: Thu, 21 Jul 2011 18:01:03 +0000 Subject: [PATCH] Refs #3301: move class util --- Code/Mantid/Build/move_class.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Code/Mantid/Build/move_class.py b/Code/Mantid/Build/move_class.py index e5543529f02..fd2c69df5fe 100644 --- a/Code/Mantid/Build/move_class.py +++ b/Code/Mantid/Build/move_class.py @@ -65,8 +65,8 @@ def move_all(subproject, classname, newproject, args): move_one(subproject, classname, newproject, testfile, newtestfile, args) # Insert into the cmake list - add_to_cmake(newproject, classname, args) - remove_from_cmake(subproject, classname, args) + add_to_cmake(newproject, classname, args, args.dest_subfolder) + remove_from_cmake(subproject, classname, args, args.source_subfolder) print " Files were removed to Framework/%s/CMakeLists.txt !" % subproject print " Files were added to Framework/%s/CMakeLists.txt !" % newproject @@ -78,7 +78,6 @@ def move_all(subproject, classname, newproject, args): # print - #====================================================================== if __name__ == "__main__": parser = argparse.ArgumentParser(description='Utility to move a Mantid class from one project to another. ' -- GitLab