forked from ungleich-public/cdist
fix multiple requirements
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
3fcbabc5e8
commit
9045b30136
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue