From: vsr Date: Wed, 15 Jul 2009 08:00:51 +0000 (+0000) Subject: Merge from V5_1_2_BR branch (14 July 2009) X-Git-Tag: V5_1_3rc1~102 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8bb6a8ab74312d95431fb58880ca66010b13ccf4;p=modules%2Fkernel.git Merge from V5_1_2_BR branch (14 July 2009) --- diff --git a/bin/appli_clean.sh b/bin/appli_clean.sh index a5413a737..8c5151431 100644 --- a/bin/appli_clean.sh +++ b/bin/appli_clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE # # Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, @@ -21,5 +21,14 @@ # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # #clean appli -# -rm -rf bin lib share doc idl env.d envd USERS getAppliPath.py searchFreePort.sh runAppli runConsole runSession runRemote.sh runTests SalomeApp.xml *.pyc *~ .bashrc + +DELCOM="rm -rf bin lib share doc idl env.d envd USERS getAppliPath.py searchFreePort.sh runAppli runConsole runSession runRemote.sh runTests SalomeApp.xml *.pyc *~ .bashrc" +echo "Do you want to delete a SALOME application in this directory ? " `pwd` +echo "command to execute: " $DELCOM +echo "enter yes or no" +read ANSWER +echo "ANSWER="$ANSWER +if [ "x$ANSWER" == "xyes" ] +then + $DELCOM +fi