]> SALOME platform Git repositories - modules/yacs.git/blobdiff - src/yacsloader/Test/YacsLoaderTest.sh.in
Salome HOME
Merge from V7_3_BR branch 18/12/2013
[modules/yacs.git] / src / yacsloader / Test / YacsLoaderTest.sh.in
index df5a2f3f2f3dcb544bb751f31c8e092800a32537..a10221eb6d67c8a62d6564375ccf2b982cd7303d 100755 (executable)
 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 
+if test -f @CMAKE_CURRENT_BINARY_DIR@/config_appli.xml; then
+  if test -n "${GEOM_ROOT_DIR}" && test -d ${GEOM_ROOT_DIR}; then
+    sed -i s%\"GEOM_ROOT_DIR\"%\"${GEOM_ROOT_DIR}\"% @CMAKE_CURRENT_BINARY_DIR@/config_appli.xml
+  fi
+  if test -n "${PYHELLO_ROOT_DIR}" && test -d ${PYHELLO_ROOT_DIR}; then
+    sed -i s%\"PYHELLO_ROOT_DIR\"%\"${PYHELLO_ROOT_DIR}\"% @CMAKE_CURRENT_BINARY_DIR@/config_appli.xml
+  fi
+fi
+
 if test -f @KERNEL_ROOT_DIR@/bin/salome/appli_gen.py ; then
 
   # --- create a SALOME Application environment