Ignore:
Timestamp:
Feb 23, 2018 2:04:07 PM (3 years ago)
Author:
raasch
Message:

fname renamed jobname

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/palmbuild

    r2732 r2834  
    2727# -----------------
    2828# $Id: palmbuild 2718 2018-01-02 08:49:38Z maronga $
     29# "fname" renamed to "jobname"
     30#
     31# 2718 2018-01-02 08:49:38Z maronga
    2932# Corrected "Former revisions" section
    3033#
     
    113116 do
    114117   case  $option  in
    115        (d)   fname=$OPTARG;;
     118       (d)   jobname=$OPTARG;;
    116119       (h)   host_configuration=$OPTARG;;
    117120       (m)   makefile=$OPTARG;;
     
    126129
    127130
     131    # FOR COMPATIBILITY REASONS SET OLD ENVIRONMENT VARIABLE
     132 export fname=$jobname
     133
     134
    128135    # BUILD THE CONFIGURATION-FILE NAME AND THE SOURCES_FOR_RUN-FOLDER NAME
    129136 config_file=.palm.config.$host_configuration
    130  sources_for_run_catalog=SOURCES_FOR_RUN_${host_configuration}_$fname
     137 sources_for_run_catalog=SOURCES_FOR_RUN_${host_configuration}_$jobname
    131138
    132139
     
    482489
    483490       # NEXT IS THE BRANCH FOR CREATING THE MAKE_DEPOSITORY_...
    484     if [[ "$fname" = "" ]]
     491    if [[ "$jobname" = "" ]]
    485492    then
    486493
     
    608615       # INCLUDING E.G. USER-INTERFACE ROUTINES. ALSO ADD OTHER UTILITY EXECUTABLES. EVERYTHING IS
    609616       # COLLECTED IN DIRECTORY SOURCES_FOR_RUN_...
    610     elif [[ "$fname" != "" ]]
     617    elif [[ "$jobname" != "" ]]
    611618    then
    612619
     
    616623       if [[ $(grep -c "sources for run found" ${host_configuration}_last_make_protocol) != 0  &&  $use_existing_sources_folder = true ]]
    617624       then
    618           printf "\a\n  *** compiled sources for run \"$fname\" found on remote host in folder"
     625          printf "\a\n  *** compiled sources for run \"$jobname\" found on remote host in folder"
    619626          printf "\n      ${fast_io_catalog}/${sources_for_run_catalog}"
    620627          printf "\n      will be used!"
     
    697704       # NEXT IS THE BRANCH FOR CREATING THE MAKE_DEPOSITORY_... ON THE
    698705       # LOCAL HOST
    699     if [[ "$fname" = "" ]]
     706    if [[ "$jobname" = "" ]]
    700707    then
    701708
     
    806813       if [[ -d ${fast_io_catalog}/${sources_for_run_catalog}  &&  $use_existing_sources_folder = true ]]
    807814       then
    808           printf "\a\n  *** compiled sources for run \"$fname\" found on local host in folder"
     815          printf "\a\n  *** compiled sources for run \"$jobname\" found on local host in folder"
    809816          printf "\n      ${fast_io_catalog}/${sources_for_run_catalog}"
    810817          printf "\n      will be used!"
Note: See TracChangeset for help on using the changeset viewer.