From 7379cf178cdba6ae2f8557aae5dc1aae68bb2ad1 Mon Sep 17 00:00:00 2001 From: Tim Ryan Date: Wed, 1 Jun 2016 15:35:26 -0700 Subject: [PATCH] Fixes pipe error. --- stage/build.sh | 2 +- stage/clean.sh | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100755 stage/clean.sh diff --git a/stage/build.sh b/stage/build.sh index 7dd1d55..1f0508d 100755 --- a/stage/build.sh +++ b/stage/build.sh @@ -112,7 +112,7 @@ fi source ./env/bin/activate fi pip install ../ -U --no-cache-dir - yes || pip uninstall pymavlink + yes | pip uninstall pymavlink pip install "pymavlink<2.0" python eepromgen.py diff --git a/stage/clean.sh b/stage/clean.sh new file mode 100755 index 0000000..f1c9e8f --- /dev/null +++ b/stage/clean.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +rm -rf build +rm -rf publish