RCG creating incorrect paths in target/<model>epics/<model>epics<ifo>.cmd, among other places
from the $RTBUILD/x1iop.log:
...
for ifo in X1 ; do \
...
echo "epicsEnvSet DAQ_FILE /opt/rtcds/tst//chans/daq/$ucmodel.ini" >> target/x1iopepics/x1iopepics$ifo.cmd; \
...
Note that the path is missing a component that should be filled in by "$ifo", presumably.
I tracked this down to configure/Makefile.linux, which I assume is somehow eventually called by the build script. It has the following lines in the "install" target:
...
# Install built epics IOC into target/$(TARGET)
install: $(DB)
...
for ifo in $(IFO) ; do \
...
echo "epicsEnvSet DAQ_FILE /opt/rtcds/$(SITE)/${ifo}/chans/daq/$$ucmodel.ini" >> target/$(TARGET)/$(TARGET)$$ifo.cmd; \
...
So I'm guessing all this make shell craziness is supposed to put the value of (IFO), which from the log above is supposed to be "X1", into "
{ifo}". But that's obviously not working. No idea if this is an issue with changes to make, bash, whatever. But clearly something more robust is needed.