Permalink
Browse files

bug 724221 - fix ScriptFactory SetProperty step for windows. r=jhopkins

  • Loading branch information...
1 parent 07f0566 commit 439ee2b408c8fc498ee22ed2b6e8f2ea565e97b5 @escapewindow escapewindow committed Jun 13, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 process/factory.py
View
@@ -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,

0 comments on commit 439ee2b

Please sign in to comment.