aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMike McQuaid2016-02-25 11:22:02 +0000
committerMike McQuaid2016-02-25 11:33:04 +0000
commit61e9d43ead0f93ffe5074a350c121486b5ec1a0e (patch)
treefe43ac9704efc9a5f19cf662d00045884a9ebc0b /bin
parent9a4987533af8207041c8061a36661286a429003d (diff)
downloadbrew-61e9d43ead0f93ffe5074a350c121486b5ec1a0e.tar.bz2
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.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/brew2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/brew b/bin/brew
index 4fa5baca1..718f7abc6 100755
--- a/bin/brew
+++ b/bin/brew
@@ -1,4 +1,6 @@
#!/bin/bash
+set +o posix
+
chdir() {
cd "$@" >/dev/null
}