#!/bin/bash

SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"

if [ `uname -m` = "aarch64" ]; then
  qemu-x86_64 $SCRIPTPATH/bin2sgl.Linux.bin "$@"
else
  $SCRIPTPATH/bin2sgl.Linux.bin "$@"
fi
   
