Project

General

Profile

Feature #808

Relocate.sh: Add more checks

Added by Maximilian Seesslen 3 months ago.

Status:
Neu
Priority:
Normal
Target version:
Start date:
06/29/2026
Due date:
% Done:

0%

Estimated time:
CS Zielversion:

Description

e.g.:

echo 
echo > a.s
usr/lib/arm-none-eabi/bin/as -v a.s || sta=1
./usr/bin/cmake --version || sta=1
./usr/bin/arm-none-eabi/arm-none-eabi-gdb --version || sta=1

echo

if [ "$sta" != 0 ]; then
    echo -e "\x1b[31mSomething is wrong\x1b[0m" 
    exit 22
else
    echo -e "\x1b[32mToolchain is working\x1b[0m" 
fi

Also available in: Atom PDF