| | |
| | | |
| | | <!-- Build the command --> |
| | | <script> |
| | | foldersToCreate = [] |
| | | |
| | | STAFCmdParamsList=[] |
| | | STAFCmdParams='' |
| | | |
| | |
| | | STAFCmdParamsList.append('-l') |
| | | |
| | | if outputFile: |
| | | if not os.path.exists(os.path.dirname(outputFile)): |
| | | os.makedirs(os.path.dirname(outputFile)) |
| | | |
| | | foldersToCreate.append(os.path.dirname(outputFile)) |
| | | STAFCmdParamsList.append('-f %s' % outputFile) |
| | | |
| | | if nbrOfThread: |
| | |
| | | |
| | | </script> |
| | | |
| | | <call function="'createMultiFolders'"> |
| | | { 'location' : location, |
| | | 'folderslist' : foldersToCreate |
| | | } |
| | | </call> |
| | | |
| | | <message> |
| | | '%s %s' % (STAFCmd, STAFCmdParams) |
| | | </message> |