bugfix in INSTBASE check

This commit is contained in:
2022-03-08 09:36:36 +01:00
parent 63c00899b0
commit 45a66ec715
+1 -1
View File
@@ -447,7 +447,7 @@ debug::
install build::
# Delete old build if INSTBASE has changed and module depends on other modules.
@+for ARCH in ${CROSS_COMPILER_TARGET_ARCHS}; do \
echo '$(findmnt -t noautofs -n -o SOURCE --target ${EPICS_MODULES})' | cmp -s O.${EPICSVERSION}_$$ARCH/INSTBASE || \
findmnt -t noautofs -n -o SOURCE --target ${EPICS_MODULES} | cmp -s O.${EPICSVERSION}_$$ARCH/INSTBASE || \
( grep -qs "^[^#]" O.${EPICSVERSION}_$$ARCH/*.dep && \
(echo "rebuilding $$ARCH"; $(RMDIR) O.${EPICSVERSION}_$$ARCH) ) || true; \
done