6633eac355
There is no need for quotes in variables assignments since dash 0.5.11 or newer, cf [1]. The keyword 'local' is supported by dash, so let's use it consistently, cf [2]. It seems that we want to quote filenames, so let's try to do it consistently, even though at the moment spaces in filenames are not supported anyway, due to the loops 'for f in $FILES_TO_DIVERT'. [1]: https://unix.stackexchange.com/a/97569/105794 [2]: https://stackoverflow.com/a/18600920