pbowden-msft / MAUCacheAdmin

Microsoft AutoUpdate Cache Admin
70 stars 15 forks source link

v1.34 #2

Closed clburlison closed 8 years ago

clburlison commented 8 years ago

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.

Tested changes with 10.12 and ubuntu 16.04.1.

pbowden-msft commented 8 years ago

Merged from @clburlison