Changeset 2396 for palm/trunk/SCRIPTS


Ignore:
Timestamp:
Sep 4, 2017 4:15:48 PM (4 years ago)
Author:
knoop
Message:

Bugfix: in palmrun and palmbuild

Location:
palm/trunk/SCRIPTS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/palmbuild

    r2388 r2396  
    598598             # COPY MAKE DEPOSITORY ON REMOTE MACHINE TO SOURCES_FOR_RUN_...
    599599          printf "\n  *** copy MAKE_DEPOSITORY_${host} on remote host to SOURCES_FOR_RUN_$fname \n"
    600           echo  "rm -rf $tmp_user_catalog/SOURCES_FOR_RUN_$fname; mkdir $tmp_user_catalog/SOURCES_FOR_RUN_$fname; cp ${remote_make_depository}/${program_name}_current_version.tar  $tmp_user_catalog/SOURCES_FOR_RUN_$fname; cd $tmp_user_catalog/SOURCES_FOR_RUN_$fname; tar xf ${program_name}_current_version.tar"  |  ssh  -q  $ssh_key  ${remote_username}@${remote_ip}  2>&1
     600          echo  "rm -rf $tmp_user_catalog/SOURCES_FOR_RUN_$fname; mkdir -p $tmp_user_catalog/SOURCES_FOR_RUN_$fname; cp ${remote_make_depository}/${program_name}_current_version.tar  $tmp_user_catalog/SOURCES_FOR_RUN_$fname; cd $tmp_user_catalog/SOURCES_FOR_RUN_$fname; tar xf ${program_name}_current_version.tar"  |  ssh  -q  $ssh_key  ${remote_username}@${remote_ip}  2>&1
    601601
    602602
     
    675675          if [[ ! -d $local_make_depository ]]
    676676          then
    677              if  mkdir $local_make_depository
     677             if  mkdir -p $local_make_depository
    678678             then
    679679                printf "\n\n  *** directory for local make depository:"
     
    757757          printf "\n      $tmp_user_catalog/SOURCES_FOR_RUN_$fname \n"
    758758          rm -rf $tmp_user_catalog/SOURCES_FOR_RUN_$fname
    759           mkdir $tmp_user_catalog/SOURCES_FOR_RUN_$fname
     759          mkdir -p $tmp_user_catalog/SOURCES_FOR_RUN_$fname
    760760          cp ${local_make_depository}/${program_name}_current_version.tar  $tmp_user_catalog/SOURCES_FOR_RUN_$fname
    761761          cd $tmp_user_catalog/SOURCES_FOR_RUN_$fname
  • palm/trunk/SCRIPTS/palmrun

    r2393 r2396  
    636636       fi
    637637
    638        rm -rf  SOURCES_FOR_RUN_$fname
    639        mkdir   SOURCES_FOR_RUN_$fname
     638       rm -rf   SOURCES_FOR_RUN_$fname
     639       mkdir -p SOURCES_FOR_RUN_$fname
    640640
    641641       if [[ "$source_list" = LM ]]
     
    16241624             if [[ -d "${absnamein[$i]}" ]]
    16251625             then
    1626                 mkdir ${localin[$i]}
     1626                mkdir -p ${localin[$i]}
    16271627                cd ${absnamein[$i]}
    16281628                for file in $(ls *)
     
    16541654                # EACH FILE GETS A UNIQUE FILENAME WITH A FOUR DIGIT NUMBER
    16551655             printf "\n      file will be provided for $cores processors"
    1656              mkdir ${localin[$i]}
     1656             mkdir -p ${localin[$i]}
    16571657             ival=$cores
    16581658             (( ii = 0 ))
     
    16831683                   # FROM THE PERMANENT DIRECTORY BY LINKING THEM TO THE LOCAL ONE
    16841684                printf "\n      providing $cores files for the respective cores"
    1685                 mkdir ${localin[$i]}
     1685                mkdir -p ${localin[$i]}
    16861686                        if [[ $link_local_input = true ]]
    16871687                              then
     
    21382138                    then
    21392139                              printf "      files will be linked\n"
    2140                               mkdir ${pathout[$i]}
     2140                              mkdir -p ${pathout[$i]}
    21412141                              cd ${localout[$i]}
    21422142                              for file in $(ls *)
Note: See TracChangeset for help on using the changeset viewer.