diff options
| author | Ralf Kistner <ralf.kistner@gmail.com> | 2013-03-19 16:36:58 +0200 |
|---|---|---|
| committer | Ralf Kistner <ralf.kistner@gmail.com> | 2013-03-19 16:36:58 +0200 |
| commit | 900186671840d7a164d85b86b3d4dc2157c3ac55 (patch) | |
| tree | 010dd0bfca9e06ae2315ecf7b096ecac5fb24cf1 | |
| parent | 05263a7156d61d502dd1cadaf7da4912b7cd61ae (diff) | |
Fix travis configuration error.
| -rw-r--r-- | .travis.yml | 2 | ||||
| -rwxr-xr-x | install.sh | 10 |
2 files changed, 8 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index 7380df4..a547c67 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ env: - ARDUINO_PACKAGE=arduino-1.5.2-linux64 - ARDUINO_PACKAGE=arduino-nightly-linux64 matrix: - - allow_failures: + allow_failures: - env: ARDUINO_PACKAGE=arduino-nightly-linux64 before_install: - wget http://downloads.arduino.cc/$ARDUINO_PACKAGE.tgz @@ -1,7 +1,11 @@ -#!/bin/sh +#!/bin/bash HARDWARE=~/Arduino/hardware TARGET=$HARDWARE/arcore mkdir -p $HARDWARE -ln -s `pwd` $TARGET -echo "Installed to $TARGET" +if [[ -d "$TARGET" ]]; then + echo "Already installed at $TARGET" +else + ln -s "$PWD" "$TARGET" + echo "Installed at $TARGET" +fi |
