Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

Commit

Permalink
bug 724221 - fix ScriptFactory SetProperty step for windows. r=jhopkins
Browse files Browse the repository at this point in the history
  • Loading branch information
escapewindow committed Jun 13, 2012
1 parent 07f0566 commit 439ee2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions process/factory.py
Expand Up @@ -8492,8 +8492,8 @@ def runScript(self):
cmd = ['bash', '-c', 'for file in `ls -1`; do cat $file; done']
if self.platform and 'win' in self.platform:
# note: prefixing 'type' command with '@' to suppress extraneous output
self.get_basedir_cmd = ['cmd', '/C', 'for', '%f', 'in', '(*)', 'do', '@type', '%f']
cmd = ['cmd', '/C', 'for', '%f', 'in', '(*)', 'do', '@type', '%f']

self.addStep(SetProperty(
name='set_script_properties',
command=cmd,
Expand Down

0 comments on commit 439ee2b

Please sign in to comment.