You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
336 B
Bash
25 lines
336 B
Bash
PROJECT=$1
|
|
echo "Verifying url links of: ${PROJECT}"
|
|
if [ ! -d "$PROJECT" ]
|
|
then
|
|
echo "Directory passed does not exist"
|
|
exit 2
|
|
fi
|
|
|
|
SCRIPT_RET=0
|
|
|
|
set -o nounset # Treat unset variables as an error
|
|
|
|
cd ${PROJECT}/FreeRTOS/Demo/Posix_GCC
|
|
make
|
|
|
|
SCRIPT_RET=$?
|
|
|
|
if [ "${SCRIPT_RET}" -eq 0 ]
|
|
then
|
|
exit 0
|
|
else
|
|
exit 1
|
|
fi
|
|
|