test -z ${SINGLE_DIR} && modif_la_files ${PRODUCT_DIR}
modif_cfg_file ${PRODUCT_DIR}/adm_local/cmake_files/SalomePYHELLOConfig.cmake
modif_cfg_file ${PRODUCT_DIR}/adm_local/cmake_files/SalomePYHELLOTargets-release.cmake
-sed -e "s%export KERNEL_ROOT_DIR=.*%export KERNEL_ROOT_DIR=${KERNEL_ROOT_DIR}%g;s%export PYHELLO_ROOT_DIR=.*%export PYHELLO_ROOT_DIR=${PYHELLO_ROOT_DIR}%g" ${PRODUCT_DIR}/bin/salome/runAppli
+sed -i "s%export KERNEL_ROOT_DIR=.*%export KERNEL_ROOT_DIR=${KERNEL_ROOT_DIR}%g;s%export PYHELLO_ROOT_DIR=.*%export PYHELLO_ROOT_DIR=${PYHELLO_ROOT_DIR}%g" ${PRODUCT_DIR}/bin/salome/runAppli
# to generate environment scripts
try_preinstalled
test -z ${SINGLE_DIR} && modif_la_files ${PRODUCT_DIR}
modif_cfg_file ${PRODUCT_DIR}/adm_local/cmake_files/SalomeSMESHConfig.cmake
modif_cfg_file ${PRODUCT_DIR}/adm_local/cmake_files/SalomeSMESHTargets-release.cmake
+test -f ${PRODUCT_DIR}/bin/salome/spadder/autotest.sh && sed -i "s%INSTALL_DIR=.*%INSTALL_DIR=${PRODUCT_DIR}%g" ${PRODUCT_DIR}/bin/salome/spadder/autotest.sh
# to generate environment scripts
try_preinstalled
# modify all *.la files
export YACS_ROOT_DIR=${PRODUCT_DIR}
test -z ${SINGLE_DIR} && modif_la_files ${PRODUCT_DIR}
-modif_cfg_file ${PRODUCT_DIR}/adm_local/cmake_files/SalomeYACSConfig.cmake
-modif_cfg_file ${PRODUCT_DIR}/adm_local/cmake_files/SalomeYACSTargets-release.cmake
+modif_cfg_file ${PRODUCT_DIR}/adm/cmake/SalomeYACSConfig.cmake
+modif_cfg_file ${PRODUCT_DIR}/adm/cmake/SalomeYACSTargets-release.cmake
# to generate environment scripts
try_preinstalled