source: modipsl/tags/v2_1_2/util/clr_make @ 489

Last change on this file since 489 was 293, checked in by bellier, 17 years ago

JB: modified a ksh command, not equivalent in ksh93

  • Property svn:executable set to *
  • Property svn:keywords set to Id
File size: 626 bytes
Line 
1#!/bin/ksh
2# $Id$
3#---------------------------------------------------------------------
4#- Suppression des Makefile propres a un environnement
5#---------------------------------------------------------------------
6d_n=$(dirname ${0});
7#-
8l_rep=$(find ${d_n}/.. -name AA_make -print)
9#-
10echo "Suppression des Makefile";
11for i in $l_rep
12do
13  j=${i%/AA_make}
14  echo "Suppression dans $j ...";
15  rm -f $j/Makefile
16done
17l_prism=${d_n}'/../prism' 
18if [ -d ${l_prism} ]; then
19  rm -f ${d_n}/../prism/src/mod/oasis3/COMP_oasis3*
20  rm -f ${d_n}/../prism/util/COMP_libs*
21  echo "Suppression de COMP_oasis3 et COMP_libs" 
22fi
23#-
24exit 0;
Note: See TracBrowser for help on using the repository browser.