Add script to launch arm for correct arch

This commit is contained in:
CDrummond committed 2022-06-18 08:40:17 +01:00
1 parent a818628706
commit b9b8fdabfc
3 files changed
+17 -2

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
#!/usr/bin/env bash
ARCH=`arch`
SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]:-$0}"; )" &> /dev/null && pwd 2> /dev/null; )";
if [ "$ARCH" = "aarch64" ] ; then
$SCRIPT_DIR/aarch64/bliss-analyser $*
else
$SCRIPT_DIR/armhf/bliss-analyser $*
fi