CMAQ 5.4 project bld error

I get the following while building CMAQ project. Any advise?

SH

set STX1 = ( -DSUBST_BARRIER=SE_BARRIER -DSUBST_GLOBAL_MAX=SE_GLOBAL_MAX -DSUBST_GLOBAL_MIN=SE_GLOBAL_MIN -DSUBST_GLOBAL_MIN_DATA=SE_GLOBAL_MIN_DATA -DSUBST_GLOBAL_TO_LOCAL_COORD=SE_GLOBAL_TO_LOCAL_COORD -DSUBST_GLOBAL_SUM=SE_GLOBAL_SUM -DSUBST_GLOBAL_LOGICAL=SE_GLOBAL_LOGICAL -DSUBST_GLOBAL_GATHER=SE_GLOBAL_GATHER -DSUBST_GLOBAL_BCAST=SE_GLOBAL_BCAST -DSUBST_LOOP_INDEX=SE_LOOP_INDEX -DSUBST_SUBGRID_INDEX=SE_SUBGRID_INDEX )
set STX2 = ( -DSUBST_HI_LO_BND_PE=SE_HI_LO_BND_PE -DSUBST_SUM_CHK=SE_SUM_CHK -DSUBST_SE_INIT=SE_INIT -DSUBST_INIT_ARRAY=SE_INIT_ARRAY -DSUBST_COMM=SE_COMM -DSUBST_MY_REGION=SE_MY_REGION -DSUBST_SLICE=SE_SLICE -DSUBST_GATHER=SE_GATHER -DSUBST_DATA_COPY=SE_DATA_COPY -DSUBST_IN_SYN=SE_IN_SYN )
if ( wrf_cons == wrf_cons ) then
set ModCpl = couple/gencoor_wrf_cons
set ModHadv = hadv/ppm
set ModVadv = vadv/wrf_cons
else if ( wrf_cons == local_cons ) then
set shaID = git --git-dir=${CMAQ_REPO}/.git rev-parse --short=10 HEAD
git --git-dir=/cmaq/app/src/main/.git rev-parse --short=10 HEAD
Illegal variable name.

It is difficult to know what is causing the Illegal variable name. Are you using this version of the bldit_cctm.csh script? CMAQ/bldit_cctm.csh at main · USEPA/CMAQ · GitHub

Are you using the tcsh shell to run the script?

echo $SHELL

Did you run the bldit_project.csh script to create a $CMAQ_HOME project directory first, or are you trying to run the bldit_cctm.csh script from the CMAQ_REPO directory?

Before you run the bldit_cctm.csh script, edit the following line to specify your local directory

 set CMAQ_HOME = /home/username/path

Thanks, Liz