15 lines
276 B
Bash
Executable File
15 lines
276 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
source $(dirname $0)/setup-env.sh
|
|
|
|
if [ -x "$(command -v x86_64-elf-ar)" ]
|
|
then
|
|
if [ "$(x86_64-elf-ar --version | head -n 1 | awk '{ print $5 }')" == "$LUNA_BINUTILS_VERSION_REQUIRED" ]
|
|
then
|
|
exit 0
|
|
else
|
|
exit 1
|
|
fi
|
|
else
|
|
exit 1
|
|
fi |