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
360 B
Bash
25 lines
360 B
Bash
4 years ago
|
|
||
|
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-Plus/Demo/FreeRTOS_Plus_TCP_Echo_Posix
|
||
|
make
|
||
|
|
||
|
SCRIPT_RET=$?
|
||
|
|
||
|
if [ "${SCRIPT_RET}" -eq 0 ]
|
||
|
then
|
||
|
exit 0
|
||
|
else
|
||
|
exit 1
|
||
|
fi
|