Salome HOME
replace /bin/sh by /bin/bash to avoid ambiguity
[tools/install.git] / config_files / remove_tmp.sh
1 #!/bin/bash -noprofile
2
3 ####################################################################################
4 #  File      : remove_tmp.sh
5 #  Created   : Thu Dec 18 12:01:00 2002
6 #  Author    : Vadim SANDLER, Open CASCADE SAS (vadim.sandler@opencascade.com)
7 #  Project   : SALOME
8 #  Module    : Installation Wizard
9 #  Copyright : 2002-2006 CEA
10 #
11 #  This script is the part of the SALOME installation procedure.
12 #
13 ####################################################################################
14
15 install_work=$1;  product_sequence=$2
16 source ./common.sh
17 for i in $product_sequence ; do
18     file=${install_work}/env_${i}.sh
19     (test -f ${file} && rm -f ${file})
20 done 
21 (file=${install_work}/$SHRC && test -f ${file} && rm -f ${file})
22 (file=${install_work}/$CSHRC && test -f ${file} && rm -f ${file})