Index: alarmMapping.sh =================================================================== diff -u -r2d0bacfbe1b70055247eb40743405a5f9acb15e3 -r86e9dfbff50cb7e16fd94c16c1c818cef3b47eac --- alarmMapping.sh (.../alarmMapping.sh) (revision 2d0bacfbe1b70055247eb40743405a5f9acb15e3) +++ alarmMapping.sh (.../alarmMapping.sh) (revision 86e9dfbff50cb7e16fd94c16c1c818cef3b47eac) @@ -9,12 +9,12 @@ # @file alarmMapping.sh # # @author (last) Behrouz NematiPour -# @date (last) 28-Mar-2022 +# @date (last) 22-Jun-022 # @author (original) Behrouz NematiPour # @date (original) 11-May-2021 # ############################################################################ - +ALARM_MAPPING=../scripts/build/alarmMapping BRANCH="staging" if ( test -n "$1" ); then BRANCH="$1" @@ -28,7 +28,7 @@ fi cd .. -if ! ( test -x ../scripts/build/alarmMapping ); then +if ! ( test -x $ALARM_MAPPING ); then echo "Alarm Mapping tool doesn't exist. Continues by assuming the Alarm Table is updated." # if return anything other than 0 build stops running next steps. # it is ok for the dev_test to not to have the script folder and @@ -38,10 +38,10 @@ # update the alarm messaging echo "update the alarm message mapping" -../scripts/build/alarmMapping \ - common/ \ - sources/model/hd/alarm/ \ - 2> alarmMapping.err \ +$ALARM_MAPPING \ + common/ \ + sources/model/hd/alarm/ \ + 2> alarmMapping.err \ | tee alarmMapping.log echo "move the Alarm code mapping to current location(./)"