summaryrefslogtreecommitdiff
path: root/misc/travis/scons-local-osx.sh
blob: d9d7d98b38979a73f4d08b94e551f78e63f751f1 (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 http://prdownloads.sourceforge.net/scons/scons-local-3.0.0.zip # latest version available here: http://scons.org/pages/download.html

echo "Extracting to build directory ..."
unzip -qq -n scons-local-3.0.0.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