summaryrefslogtreecommitdiff
path: root/tools/mcuota.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/mcuota.sh')
-rwxr-xr-xtools/mcuota.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/mcuota.sh b/tools/mcuota.sh
new file mode 100755
index 0000000..b2e7910
--- /dev/null
+++ b/tools/mcuota.sh
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
+
+. "$DIR/lib.bash"
+
+if [ -d "$DIR/../venv" ]; then
+ echoinfo "activating python venv"
+ . "$DIR/../venv/bin/activate"
+else
+ echowarn "python venv not found"
+fi
+
+"$DIR/mcuota.py" "$@" \ No newline at end of file