Skip to content

Instantly share code, notes, and snippets.

View lbarratt's full-sized avatar
🖖

Luke Barratt lbarratt

🖖
View GitHub Profile
@lbarratt
lbarratt / bash-fix.sh
Last active August 29, 2015 14:06 — forked from JonRowe/bash-fix.sh
cd
mkdir bash-fix
cd bash-fix
curl https://opensource.apple.com/tarballs/bash/bash-92.tar.gz | tar zxf -
cd bash-92/bash-3.2
curl https://ftp.gnu.org/pub/gnu/bash/bash-3.2-patches/bash32-052 | patch -p0
cd ..
xcodebuild
sudo cp /bin/bash /bin/bash.old
sudo cp /bin/sh /bin/sh.old