Ubuntu has some conflicting default shell environment settings that cause MAUCacheAdmin to fail if the temporary directory name is the same as the tool name. Found by @ dustin on Slack.
I've also modified the shebang to use bash as you're currently using some functions that aren't /bin/sh friendly. http://unix.stackexchange.com/a/5591
The workaround if you don't want to change the shebang would be to tell users to call with bash MAUCacheAdmin but IMO that's more of a support hassle than just modifying the shebang.
Ubuntu has some conflicting default shell environment settings that cause MAUCacheAdmin to fail if the temporary directory name is the same as the tool name. Found by @ dustin on Slack.
I've also modified the shebang to use bash as you're currently using some functions that aren't
/bin/sh
friendly. http://unix.stackexchange.com/a/5591The workaround if you don't want to change the shebang would be to tell users to call with
bash MAUCacheAdmin
but IMO that's more of a support hassle than just modifying the shebang.Tested changes with 10.12 and ubuntu 16.04.1.