make remote_cmd a new list

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
remotes/origin/feature_files_export
Nico Schottelius 14 years ago
parent f21ce6a0db
commit 2c15069d96
  1. 4
      bin/cdist

@ -344,9 +344,7 @@ class Cdist:
explorers = self.list_type_explorers(type)
for explorer in explorers:
# THIS IS A BUG, because remote_cmd is NOT a copy
remote_cmd = cmd
remote_cmd.append(os.path.join(self.remote_type_explorer_dir(type), explorer))
remote_cmd = cmd + os.path.join(self.remote_type_explorer_dir(type), explorer)
output = os.path.join(self.type_explorer_output_dir(cdist_object), explorer)
output_fd = open(output, mode='w')

Loading…
Cancel
Save