Ignore:
Timestamp:
08/25/17 14:11:01 (7 years ago)
Author:
sdipsl
Message:
  • #326 fix the issue when SPACENAME = TEST
  • use a safer ksh syntax for testing equality
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_curie.ksh

    r1409 r1410  
    687687        fi 
    688688 
    689         if [ ${fileDeviceNumberInHex} -ne ${directoryDeviceNumberInHex} ] ; then 
     689        if ( [ ${fileDeviceNumberInHex} -ne ${directoryDeviceNumberInHex} ] || [ X$3 = XNOMOVE] ) ; then 
    690690          # They are not on the same device. USUAL WAY 
    691691          \cp $1 $2 > ${OUTCOMMAND_PATH}/out_command_${LOGIN}.$$ 2>&1 
     
    10551055# -------------------------------------------------------------------- 
    10561056 
    1057   if [ X${compilerVersion} == XV17 ] ; then 
     1057  if [ X${compilerVersion} = XV17 ] ; then 
    10581058      . /ccc/cont003/home/dsm/p86ipsl/.env_intel17.0.2_curie   > /dev/null 2>&1 
    1059   elif [ X${compilerVersion} == XV14 ] ; then 
     1059  elif [ X${compilerVersion} = XV14 ] ; then 
    10601060      . /ccc/cont003/home/dsm/p86ipsl/.env_intel14.0.3_curie   > /dev/null 2>&1 
    10611061  else 
Note: See TracChangeset for help on using the changeset viewer.