Merge pull request #4952 from silverstripe/local-bin

Install sake into /usr/local/bin. /usr is now protected on OSX
This commit is contained in:
Daniel Hensby 2016-01-22 18:49:40 +00:00
commit 415318042d

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