Changeset 795


Ignore:
Timestamp:
02/13/13 14:57:50 (11 years ago)
Author:
sdipsl
Message:

Unlike mfput cp don't create parent directory

File:
1 edited

Legend:

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

    r794 r795  
    10971097    fi 
    10981098    # 
    1099     # Only if we use rsync 
    1100     #IGCM_sys_MkdirArchive $( dirname $2 ) 
    11011099    # 
    11021100    #Command depends on targeted file system 
     
    11061104      status=$? 
    11071105    else 
     1106      IGCM_sys_MkdirArchive $( dirname $2 ) 
    11081107      \cp $1 $2 > out_rsync 2>&1 
    11091108      status=$? 
     
    11111110 
    11121111#       #RSYNC WITH NETWORK RSH CALL 
     1112#       IGCM_sys_MkdirArchive $( dirname $2 ) 
    11131113#       echo ${RSYNC} ${RSYNC_opt} --rsync-path=${REMOTE_RSYNC} -e rsh ${RUN_DIR}/$1 ${STOREHOST}:${2} > out_rsync 2>&1 
    11141114#       ${RSYNC} ${RSYNC_opt} --rsync-path=${REMOTE_RSYNC} -e rsh ${RUN_DIR}/$1 ${STOREHOST}:${2} >> out_rsync 2>&1 
     
    12071207    fi 
    12081208    # 
    1209     # Only if we use rsync 
    1210     #IGCM_sys_MkdirArchive $( dirname $2 ) 
    12111209    # 
    12121210    #Command depends on targeted file system 
     
    12161214      status=$? 
    12171215    else 
     1216      IGCM_sys_MkdirArchive $( dirname $2 ) 
    12181217      \cp $1 $2 > out_rsync 2>&1 
    12191218      status=$? 
     
    12211220 
    12221221#       #RSYNC WITH NETWORK RSH CALL 
     1222#       IGCM_sys_MkdirArchive $( dirname $2 ) 
    12231223#       echo ${RSYNC} ${RSYNC_opt} --rsync-path=${REMOTE_RSYNC} -e rsh ${RUN_DIR}/$1 ${STOREHOST}:${2} > out_rsync 2>&1 
    12241224#       ${RSYNC} ${RSYNC_opt} --rsync-path=${REMOTE_RSYNC} -e rsh ${RUN_DIR}/$1 ${STOREHOST}:${2} >> out_rsync 2>&1 
Note: See TracChangeset for help on using the changeset viewer.