Hi,
I've been asked to modify a bash script at my internship and since yesterday was the first time I started reading up on Bash syntax, I'm having a hard time figuring out a "syntax error: unexpected end of file" error. I was wondering if anyone would be able to help me out.
The last part of the script is:
echo " " >>${MAILLOG}
echo "Building CSAPI SDK" >>${MAILLOG}
cd ${BuildsDIR}
make sdk
# Wait 3 minutes for the HDXs to reboot and SDK build to complete
echo "Waiting for the HDXs to reboot and SDK build to complete..." >>${MAILLOG}
sleep 180
echo "Running PyUnit tests" >>${MAILLOG}
cd Common/csapi/pyunit
make test >>${TESTLOG} 2>&1
TestReportLink=`mklink ${BUILDURL}/${1}/build/Common/csapi/pyunit/report.xml`
TestLogLink=`mklink ${BUILDURL}/${1}/build/${1}.test.log`
echo "Test report: ${TestReportLink}" >>${MAILLOG}
echo "Test log: ${TestLogLink}" >>${MAILLOG}
# Wait 3 minutes for the tests to complete
sleep 180