diff --git a/App/tools/driver.makefile b/App/tools/driver.makefile index 62b4aa3ca1b08c312514345701547de7b2adbc8f..3eb17cfa617952ce16b6c77f4fa1d8b97e5d489c 100644 --- a/App/tools/driver.makefile +++ b/App/tools/driver.makefile @@ -388,8 +388,8 @@ endef $(foreach a,${CROSS_COMPILER_TARGET_ARCHS},$(foreach l,$(LINK_$a),$(eval $(call MAKELINKDIRS,$l,$a)))) install:: - @test ! -d ${MODULE_LOCATION}/R${EPICSVERSION} || \ - (echo -e "Error: ${MODULE_LOCATION}/R${EPICSVERSION} already exists.If you really want to overwrite then uninstall first."; false) + @test ! -d ${MODULE_LOCATION}/R${EPICSVERSION}/lib/${T_A} || \ + (echo -e "Error: ${MODULE_LOCATION}/R${EPICSVERSION}/lib/${T_A} already exists.If you really want to overwrite then uninstall first."; false) install build:: # Delete old build if INSTBASE has changed.