Index: zorg/buildbot/builders/ClangLTOBuilder3Stage.py =================================================================== --- zorg/buildbot/builders/ClangLTOBuilder3Stage.py +++ zorg/buildbot/builders/ClangLTOBuilder3Stage.py @@ -74,9 +74,17 @@ cmake_command = ["cmake"] if cmake_cache_file: - cmake_command += "-C %s" % (" ".join(cmake_cache_file)) + assert type(cmake_cache_file)==str, \ + "Please make sure the value assigned to the cmake_cache_file argument is a string type." + cmake_command += ['-C %s' % cmake_cache_file] if extra_cmake_options: + assert type(extra_cmake_options)==list, \ + "Please make sure the value assigned to the extra_cmake_options argument is a list type." + for items in extra_cmake_options: + assert type(items)==str, \ + """"Strings are the only acceptable type for items in extra_cmake_options, + the value %s was entered and it is %s.""" % (items,type(items)) cmake_command += extra_cmake_options cmake_command += [