Changeset 1876


Ignore:
Timestamp:
Sep 24, 2013, 12:22:55 PM (11 years ago)
Author:
Laurent Fairhead
Message:

Correcting some strange shell behaviour

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOL/script_install/instal1d.sh

    r1868 r1876  
    7474# Creating directory for 1d cases
    7575################################################################################
    76 if [ -f 1dcases ] ; then
     76if [ -d 1dcases ] ; then
    7777  echo '1dcases existe deja'
    7878  echo 'on continue'
     
    8484
    8585for cas in amma arm_cu ayotte case_e eq_rd_cv fire hapex92_init rico toga sanduref sandufast sanduslow twpice ; do
    86    if [ -f $cas ] ; then
     86   if [ -d $cas ] ; then
    8787      echo $cas existe deja
    8888      echo 'on continue, mais il  faudra verifier qu il ne manque rien dans '$cas
Note: See TracChangeset for help on using the changeset viewer.