Changeset 2396 for palm/trunk/SCRIPTS
- Timestamp:
- Sep 4, 2017 4:15:48 PM (7 years ago)
- Location:
- palm/trunk/SCRIPTS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/palmbuild
r2388 r2396 598 598 # COPY MAKE DEPOSITORY ON REMOTE MACHINE TO SOURCES_FOR_RUN_... 599 599 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>&1600 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 601 601 602 602 … … 675 675 if [[ ! -d $local_make_depository ]] 676 676 then 677 if mkdir $local_make_depository677 if mkdir -p $local_make_depository 678 678 then 679 679 printf "\n\n *** directory for local make depository:" … … 757 757 printf "\n $tmp_user_catalog/SOURCES_FOR_RUN_$fname \n" 758 758 rm -rf $tmp_user_catalog/SOURCES_FOR_RUN_$fname 759 mkdir $tmp_user_catalog/SOURCES_FOR_RUN_$fname759 mkdir -p $tmp_user_catalog/SOURCES_FOR_RUN_$fname 760 760 cp ${local_make_depository}/${program_name}_current_version.tar $tmp_user_catalog/SOURCES_FOR_RUN_$fname 761 761 cd $tmp_user_catalog/SOURCES_FOR_RUN_$fname -
palm/trunk/SCRIPTS/palmrun
r2393 r2396 636 636 fi 637 637 638 rm -rf SOURCES_FOR_RUN_$fname639 mkdir 638 rm -rf SOURCES_FOR_RUN_$fname 639 mkdir -p SOURCES_FOR_RUN_$fname 640 640 641 641 if [[ "$source_list" = LM ]] … … 1624 1624 if [[ -d "${absnamein[$i]}" ]] 1625 1625 then 1626 mkdir ${localin[$i]}1626 mkdir -p ${localin[$i]} 1627 1627 cd ${absnamein[$i]} 1628 1628 for file in $(ls *) … … 1654 1654 # EACH FILE GETS A UNIQUE FILENAME WITH A FOUR DIGIT NUMBER 1655 1655 printf "\n file will be provided for $cores processors" 1656 mkdir ${localin[$i]}1656 mkdir -p ${localin[$i]} 1657 1657 ival=$cores 1658 1658 (( ii = 0 )) … … 1683 1683 # FROM THE PERMANENT DIRECTORY BY LINKING THEM TO THE LOCAL ONE 1684 1684 printf "\n providing $cores files for the respective cores" 1685 mkdir ${localin[$i]}1685 mkdir -p ${localin[$i]} 1686 1686 if [[ $link_local_input = true ]] 1687 1687 then … … 2138 2138 then 2139 2139 printf " files will be linked\n" 2140 mkdir ${pathout[$i]}2140 mkdir -p ${pathout[$i]} 2141 2141 cd ${localout[$i]} 2142 2142 for file in $(ls *)
Note: See TracChangeset
for help on using the changeset viewer.