Changeset 78 for palm/trunk/SCRIPTS/mrun
- Timestamp:
- Mar 29, 2007 5:17:18 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/mrun
r76 r78 112 112 # output 113 113 # 16/03/07 - Siggi - adjustments for lctit 114 # 29/03/07 - Siggi - global revision transfered to batch job by new 115 # option -G 114 116 115 117 … … 150 152 fname=test 151 153 fromhost="" 154 global_revision="" 152 155 host="" 153 156 host_file="" … … 370 373 (D) cpp_opts="$cpp_opts $OPTARG"; mc="$mc -D$OPTARG";; 371 374 (f) filetransfer_protocol=$OPTARG; mc="$mc -f$OPTARG";; 375 (G) global_revision=$OPTARG; mc="$mc -G'$OPTARG'";; 372 376 (F) job_on_file="-D"; mc="$mc -F";; 373 377 (h) host=$OPTARG; mc="$mc -h$OPTARG";; … … 878 882 879 883 884 # GLOBALE REVISIONSNUMMER ERMITTELN (FORTSETZUNGSLAEUFEN WIRD DIESE 885 # DURCH OPTION -G MITGETEILT) 886 if [[ "$global_revision" = "" ]] 887 then 888 global_revision=`svnversion $source_path 2>/dev/null` 889 global_revision="Rev: $global_revision" 890 fi 891 880 892 881 893 # NOCHMAL PRUEFEN, OB AUF REMOTE-MASCHINE GERECHNET WERDEN SOLL … … 2688 2700 # NAMELIST-DATEI MIT WERTEN VON ENVIRONMENT-VARIABLEN ERZEUGEN (ZU 2689 2701 # LESEN VON PALM) 2690 # DAZU VORHER DIE "GLOBAL REVISION" VON SUBVERSION ERMITTELN, FALLS2691 # DIE SOURCEN UNTER SUBVERSION-KONTROLLE STEHEN2692 global_revision=`svnversion $source_path`2693 global_revision="Rev: $global_revision"2694 2695 2702 cat > ENVPAR << %%END%% 2696 2703 &envpar run_identifier = '$fname', host = '$localhost', … … 3749 3756 mrun_com="$mrun_script_name -a $afname -c $config_file -d $fname -f $filetransfer_protocol -h $host -H $fromhost -m $memory -t $cpumax -q $queue -R $return_addres -U $return_username -u $remote_username" 3750 3757 [[ "$cpp_opts" != "" ]] && mrun_com=${mrun_com}" -D \"$cpp_opts\"" 3758 [[ "$global_revision" != "" ]] && mrun_com=${mrun_com}" -G $global_revision" 3751 3759 [[ $do_compile = true ]] && mrun_com=${mrun_com}" -s \"$source_list\"" 3752 3760 [[ "$input_list" != "" ]] && mrun_com=${mrun_com}" -i \"$input_list\""
Note: See TracChangeset
for help on using the changeset viewer.