jmavsim_run.sh: fix shebang and exit on error

This commit is contained in:
Julian Oes
2018-09-13 14:49:56 +02:00
committed by Daniel Agar
parent 1789083ab3
commit fec3422f54
+3 -1
View File
@@ -1,4 +1,6 @@
#! /bin/bash
#!/usr/bin/env bash
set -e
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "$SCRIPT_DIR/jMAVSim"