- A few without a 'cd' at the start. Use $(getApplication) directly in more places (for clarity).
Patch contributed by Bruno Santos Resolves bug-report http://bugs.openfoam.org/view.php?id=2173