]> SALOME platform Git repositories - tools/sat.git/blob - src/internal_config/INSTALL_BIN.template
Salome HOME
add logs to git retry functionality
[tools/sat.git] / src / internal_config / INSTALL_BIN.template
1 #!/bin/bash
2
3 # This script copies BINARIES content into INSTALL, and substitute paths to enable extra compilation. 
4 # If INSTALL already exists : does nothing!
5 if [ -d INSTALL ]
6 then
7     echo Warning: INSTALL already exists! Please rename or delete it before executing this script
8     exit
9 fi
10 if [ ! -d ¤{BINARIES_DIR} ]
11 then
12     echo Error: ¤{BINARIES_DIR} directory not found!
13     exit
14 fi
15 mkdir INSTALL
16 echo copies ¤{BINARIES_DIR} into INSTALL
17 cp -RP ¤{BINARIES_DIR}/*  INSTALL
18 echo does the substitutions
19 # do the required substitutions
20 ¤{SUBSTITUTION_LOOP}