fix multiple requirements

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Thomas Reifenberger 2011-10-07 16:07:02 +02:00 committed by Nico Schottelius
parent 3fcbabc5e8
commit 9045b30136

View file

@ -132,7 +132,7 @@ def run(argv):
requirements = os.environ['__require']
log.debug(object_id + ":Writing requirements: " + requirements)
require_fd = open(os.path.join(object_dir, "require"), "a")
require_fd.writelines(requirements.split(" "))
require_fd.write(requirements.replace(" ","\n"))
require_fd.close()
# Record / Append source