summaryrefslogtreecommitdiff
path: root/misc/travis/scons-local-osx.sh
blob: fe7b43aadcbb209fe3989bedf1ec35ea03cbacd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash

echo
echo "Download and install Scons local package ..."
echo

echo "Downloading sources ..."
curl -L -O https://downloads.sourceforge.net/scons/scons-local-3.0.1.zip # latest version available here: http://scons.org/pages/download.html

echo "Extracting to build directory ..."
unzip -qq -n scons-local-3.0.1.zip -d $TRAVIS_BUILD_DIR/scons-local

echo "Installing symlinks ..."
ln -s $TRAVIS_BUILD_DIR/scons-local/scons.py /usr/local/bin/scons

echo
echo "Done!"
echo