Install sake into /usr/local/bin. /usr is now protected on OSX

https://support.apple.com/en-us/HT204899
This commit is contained in:
Will Rossiter 2016-01-20 14:34:03 +13:00 committed by Daniel Hensby
parent 8e4db95f72
commit d9fd442b0e
1 changed files with 3 additions and 3 deletions

6
sake
View File

@ -60,9 +60,9 @@ fi
## Installation to /usr/bin
if [ "$1" = "installsake" ]; then
echo "Installing sake to /usr/bin..."
rm -rf /usr/bin/sake
cp $0 /usr/bin
echo "Installing sake to /usr/local/bin..."
rm -rf /usr/local/bin/sake
cp $0 /usr/local/bin
exit 0
fi