Fix T74218
BSD `find` [1] is different from Linux `find` [2]
`-printf` is not available in the former. So `-print` is used.
I also tried `-exec` but couldn't get over white spaces in a test
directory. Also, as mentioned here:in my earlier comment:
https://developer.blender.org/T74218#908107
making an array of directories was necessary, because chaining many `-exec`
commands was not feasible.
Also, invoking a shell using `sh -c` wasn't worth the complexity, so I fixed the
`SVN_DIRS_ALL` itself.
As in the task,> 1. The error in `-printf '%h\n`. tThis diff fixes point 1.
point 2 was fixedoption in 'find' command is NOT available on Darwin. There are two occurrences in rBM6308this file.
point 3This is fixed by using `/../` since `/a/.svn` is not a working directory,
`/a/` is.
point 4 **needs** to be fixed-print` & then iterating over the array.
>2. `export LANG="en_US.UTF8` should be `export LANG="en_US.UTF-8"`,
This was already fixed in rBM6308.
> 3. `svn: Skipping argument: E200025: 'locale//vi/.svn' ends in a reserved name`
This is fixed by using `/../` since `/a/.svn` is not a working directory,
but `/a/` is. Also, extra `/` in `locale/` is removed.
> 4. Last, and the most severed is the creation of locale/locale/<lang_code> directory and files. This is wrong. (locale) is repeated twice.
This **needs** to be fixed & is not is in this patch.
Also see P1335 for corresponding logs.
[1]: https://www.unix.com/man-page/mojave/1/find/
[2]: https://linux.die.net/man/1/find