diff --git a/Code/Mantid/Build/move_class.py b/Code/Mantid/Build/move_class.py index e5543529f02d5f7914b820b20dafd558734bc304..fd2c69df5fe0f3ec3db48606a33e7148589da918 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. '