From 68aa1ed01b9c30159547e1a3f8e52454a8667aad Mon Sep 17 00:00:00 2001 From: Krisjanis Rijnieks Date: Sun, 6 May 2018 02:57:01 +0200 Subject: [PATCH] Try to fix problem with cloning ofxOMXPlayer in travis rpi cfg --- scripts/ci/rpi/pisetup.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/ci/rpi/pisetup.sh b/scripts/ci/rpi/pisetup.sh index 979d6b5..5e44ccb 100644 --- a/scripts/ci/rpi/pisetup.sh +++ b/scripts/ci/rpi/pisetup.sh @@ -8,6 +8,10 @@ cd /home/pi/openFrameworks/addons git clone --depth=1 https://github.com/jeffcrouse/ofxJSON.git git clone --depth=1 https://github.com/jvcleave/ofxOMXPlayer.git +if [ -e "ofxOMXPlayer" ]; then + rm -rf ofxOMXPlayer +fi + cd ofxOMXPlayer git checkout 0.9.0-compatible cd ..