Skip to content

Commit

Permalink
use uname -m on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
cruvolo committed Jul 11, 2018
1 parent 8a2d091 commit 99171e6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@

OS=`uname -s`
RELEASE=`uname -r`
ARCH=`uname -p`

if [ "$OS" = "Linux" ]; then
ARCH=`uname -m`
else
ARCH=`uname -p`
fi

if [ "$1" = "clean" ]; then
echo "rm -f ramsmp temp/*.o"
Expand Down

0 comments on commit 99171e6

Please sign in to comment.