summaryrefslogtreecommitdiff
path: root/Meta/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Meta/run.sh')
-rwxr-xr-xMeta/run.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/Meta/run.sh b/Meta/run.sh
index 05142d97dd..f0f7784956 100755
--- a/Meta/run.sh
+++ b/Meta/run.sh
@@ -8,6 +8,12 @@ die() {
exit 1
}
+SCRIPT_DIR="$(dirname "${0}")"
+
+# https://www.shellcheck.net/wiki/SC1090 No need to shellcheck private config.
+# shellcheck source=/dev/null
+[ -x "$SCRIPT_DIR/../run-local.sh" ] && . "$SCRIPT_DIR/../run-local.sh"
+
#SERENITY_PACKET_LOGGING_ARG="-object filter-dump,id=hue,netdev=breh,file=e1000.pcap"
KVM_SUPPORT="0"
@@ -26,8 +32,6 @@ if [ "$(uname)" = "Darwin" ] && [ "$(uname -m)" = "x86_64" ]; then
fi
fi
-SCRIPT_DIR="$(dirname "${0}")"
-
# Prepend the toolchain qemu directory so we pick up QEMU from there
PATH="$SCRIPT_DIR/../Toolchain/Local/qemu/bin:$PATH"