Changeset 2990 for palm/trunk/SCRIPTS/palmrun
- Timestamp:
- Apr 19, 2018 7:24:14 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/palmrun
r2957 r2990 27 27 # ----------------- 28 28 # $Id: palmrun 2718 2018-01-02 08:49:38Z maronga $ 29 # bugfix: temporary SOURCES_FOR_RUN_CATALOG now created in base_directory and 30 # not in the working directory from where palmrun is called 31 # 32 # 2718 2018-01-02 08:49:38Z maronga 29 33 # svfout in the activation string will be replaced now by svfin in case of 30 34 # automatic restarts … … 794 798 fi 795 799 796 rm -rf $ sources_for_run_catalog797 mkdir -p $ sources_for_run_catalog800 rm -rf ${base_directory}/${sources_for_run_catalog} 801 mkdir -p ${base_directory}/${sources_for_run_catalog} 798 802 799 803 if [[ "$source_list" = LM ]] … … 837 841 for filename in $Filenames 838 842 do 839 cp $filename ${ working_directory}/${sources_for_run_catalog}843 cp $filename ${base_directory}/${sources_for_run_catalog} 840 844 source_list=$source_list"$filename " 841 845 done … … 867 871 locat=source; exit 868 872 else 869 cp $filename ${ working_directory}/${sources_for_run_catalog}873 cp $filename ${base_directory}/${sources_for_run_catalog} 870 874 fi 871 875 … … 883 887 locat=make; exit 884 888 else 885 cp $makefile ${ sources_for_run_catalog}/Makefile889 cp $makefile ${base_directory}/${sources_for_run_catalog}/Makefile 886 890 fi 887 891 … … 922 926 923 927 cd - > /dev/null 924 cd $ sources_for_run_catalog928 cd ${base_directory}/${sources_for_run_catalog} 925 929 926 930 # COPY MAKEFILE IF EXISTING … … 978 982 979 983 # COPY CONFIGURATION FILES 980 cp $config_file $ sources_for_run_catalog981 cp $fileconnection_file $ sources_for_run_catalog984 cp $config_file ${base_directory}/${sources_for_run_catalog} 985 cp $fileconnection_file ${base_directory}/${sources_for_run_catalog} 982 986 983 987 # COPY SHELLSCRIPTS 984 cp ${source_path}/../SCRIPTS/palmrun $ sources_for_run_catalog985 cp ${source_path}/../SCRIPTS/batch_scp $ sources_for_run_catalog988 cp ${source_path}/../SCRIPTS/palmrun ${base_directory}/${sources_for_run_catalog} 989 cp ${source_path}/../SCRIPTS/batch_scp ${base_directory}/${sources_for_run_catalog} 986 990 987 991 fi … … 1821 1825 1822 1826 # NOW CREATE THE SOURCES_FOR_RUN FOLDER 1823 palmbuild -v $use_existing_sources_folder -h $host_configuration -d $jobname 1827 # palmbuild -v $use_existing_sources_folder -h $host_configuration -d $jobname 1828 palmbuild $use_existing_sources_folder -h $host_configuration -d $jobname 1824 1829 1825 1830 if [[ $? != 0 ]] … … 1829 1834 printf "\n +++ error while creating executable and/or other sources" 1830 1835 locat=execution 1831 rm -rf $ sources_for_run_catalog1836 rm -rf ${base_directory}/${sources_for_run_catalog} 1832 1837 exit 1833 1838 … … 1835 1840 1836 1841 printf " *** executable and other sources created\n" 1837 rm -rf $ sources_for_run_catalog1842 rm -rf ${base_directory}/${sources_for_run_catalog} 1838 1843 1839 1844 fi
Note: See TracChangeset
for help on using the changeset viewer.