SetScript errors received when executing Spectrum AlarmNotifier
Errors similar to the following are seen in the $SPECROOT/Notifier/NOTIFIER.OUT file:
====================================================
/d/win32app/SPECTRUM/Notifier/SetScript: line 18: $'\r': command not found
/d/win32app/SPECTRUM/Notifier/SetScript: line 53: $'\r': command not found
/d/win32app/SPECTRUM/Notifier/SetScript: line 54: $'\r': command not found
/d/win32app/SPECTRUM/Notifier/SetScript: line 55: syntax error near unexpected token '$'in\r''
/d/win32app/SPECTRUM/Notifier/SetScript: line 55: 'case '/bin/uname` in '
=====================================================
Release: Any version installed on Windows
Component: SPCAEM
There are line endings.
Set the following environment variable to ignore line endings "\r". Another solution would be to fix the script by running the Unix2Dos utility.