mirror of
https://github.com/aolofsson/oh.git
synced 2025-01-30 02:32:53 +08:00
22 lines
248 B
Bash
Executable File
22 lines
248 B
Bash
Executable File
#!/bin/bash
|
|
|
|
|
|
|
|
SCRIPT=$(readlink -f "$0")
|
|
EXEPATH=$(dirname "$SCRIPT")
|
|
|
|
|
|
$EXEPATH/bin/e-main.elf $EXEPATH/bin/e-task.srec > e-main.log
|
|
|
|
retval=$?
|
|
|
|
if [ $retval -ne 0 ]
|
|
then
|
|
echo "$SCRIPT FAILED"
|
|
else
|
|
echo "$SCRIPT PASSED"
|
|
fi
|
|
|
|
exit $retval
|
|
|