Changeset 4303 for palm/trunk/SCRIPTS/palmbuild
- Timestamp:
- Nov 25, 2019 8:55:18 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/palmbuild
r4082 r4303 27 27 # ----------------- 28 28 # $Id$ 29 # Abort if SOURCES_FOR_RUN catalog cannot be created 30 # 31 # 4082 2019-07-10 14:42:00Z raasch 29 32 # bugfix for executing module commands and for interpreting linker options 30 33 # on local machines … … 682 685 printf "\n *** copy MAKE_DEPOSITORY_${configuration_identifier} on remote host to $sources_for_run_catalog \n" 683 686 fi 684 ssh -q $ssh_key ${remote_username}@${remote_ip} "rm -rf ${fast_io_catalog}/${sources_for_run_catalog}; mkdir -p ${fast_io_catalog}/${sources_for_run_catalog}; cp ${make_depository}/${program_name}_current_version.tar ${fast_io_catalog}/${sources_for_run_catalog}; cd ${fast_io_catalog}/${sources_for_run_catalog}; tar xf ${program_name}_current_version.tar" 2>&1 687 ssh -q $ssh_key ${remote_username}@${remote_ip} "rm -rf ${fast_io_catalog}/${sources_for_run_catalog}; mkdir -p ${fast_io_catalog}/${sources_for_run_catalog}; [[ \$? != 0 ]] && exit 1; cp ${make_depository}/${program_name}_current_version.tar ${fast_io_catalog}/${sources_for_run_catalog}; cd ${fast_io_catalog}/${sources_for_run_catalog}; tar xf ${program_name}_current_version.tar" 2>&1 688 if [[ $? != 0 ]] 689 then 690 printf "\n +++ SOURCES_FOR_RUN catalog cannot be created." 691 printf "\n Check setting of variable fast_io_catalog in your config file." 692 locat=temporary_working_directory 693 exit 694 fi 685 695 686 696 … … 916 926 rm -rf ${fast_io_catalog}/${sources_for_run_catalog} 917 927 mkdir -p ${fast_io_catalog}/${sources_for_run_catalog} 928 if [[ $? != 0 ]] 929 then 930 printf "\n +++ SOURCES_FOR_RUN catalog cannot be created." 931 printf "\n Check setting of variable fast_io_catalog in your config file." 932 locat=execution 933 exit 934 fi 918 935 cp ${make_depository}/${program_name}_current_version.tar ${fast_io_catalog}/${sources_for_run_catalog} 919 936 cd $fast_io_catalog/${sources_for_run_catalog}
Note: See TracChangeset
for help on using the changeset viewer.