Skip to content
Snippets Groups Projects
Verified Commit 25d79301 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

various fixes to dynareParallelDelete.m

- did not account for cases when username not set (namely when remote is localhost)
- did not account for cases when remote directory was not set (namely when remote is localhost)
- added unnecessary `filesep` to `pname` when `pname` was empty
- ignore unused output arguments (it is necessary to explicitly ignore them to prevent unwanted output from the `system` call)
- globbing did not work as it was expanded on the calling machine not the remote; pass call to `bash -c` to handle this

(cherry picked from commit 7a02b3bf)
parent 139e76c1
Loading
Pipeline #3302 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment