Open gtfierro opened 7 years ago
doesn't mkdir -p just work even if it exists?
Yeah, I guess it would, but I thought it might give an error if it already existed and if you had set -ex
on, then I thought I would save the trouble of trying to do directory detection
-p
means no error if it exists along with the parent thing.
michael@shadowfall:~$ mkdir -p /tmp
michael@shadowfall:~$ echo $?
0
I'll add the mkdir in the next release
If user hasn't done anything with Homebrew before (or other package managers), then the usual
curl get.bw2.io/agent | sh' install will fail because it assumes existence of
/usr/local/bin`.Fix: something like