toaruos/util/arch.sh

10 lines
148 B
Bash
Executable File

#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
if [ -e "$DIR/../.arch" ]; then
cat "$DIR/../.arch"
exit 0
fi
echo "x86_64"