bin/brew: unset POSIX mode.

We're using /bin/bash and not /bin/sh for a reason so don't allow users
to override this (seen in Homebrew/homebrew#49514).

Closes Homebrew/homebrew#49515.
This commit is contained in:
Mike McQuaid 2016-02-25 11:22:02 +00:00
parent 9a4987533a
commit 61e9d43ead

View File

@ -1,4 +1,6 @@
#!/bin/bash #!/bin/bash
set +o posix
chdir() { chdir() {
cd "$@" >/dev/null cd "$@" >/dev/null
} }