Changeset 1122 for palm/trunk/SCRIPTS


Ignore:
Timestamp:
Apr 9, 2013 8:37:16 AM (12 years ago)
Author:
heinze
Message:

Bugfix: change type of variable last_char in mrun

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/mrun

    r1121 r1122  
    2222# Current revisions:
    2323# ------------------
    24 #
     24# Bugfix: change type of variable last_char
    2525#
    2626# Former revisions:
     
    208208
    209209 typeset -i  iec=0 iic=0 iin=0 ioc=0 iout=0 memory=0 stagein_anz=0 stageout_anz=0
    210  typeset -i  cputime i ii iia iii iio icycle inode ival jobges jobsek last_char maxcycle minuten nodes pes sekunden tp1
     210 typeset -i  cputime i ii iia iii iio icycle inode ival jobges jobsek last_char_int maxcycle minuten nodes pes sekunden tp1
    211211
    212212
     
    23042304
    23052305    # SKIP CHECK IN CASE OF RESTART RUN: CHECK WHETHER THE LAST CHAR IS "f" IN PARIN
    2306  (( last_char = `echo $filename_input | wc -c` - 1 ))
    2307  last_char=`echo $filename_input | cut -c $last_char`
     2306 (( last_char_int = `echo $filename_input | wc -c` - 1 ))
     2307 last_char=`echo $filename_input | cut -c $last_char_int`
    23082308 if [[ "$last_char" == "f" ]]
    23092309 then
Note: See TracChangeset for help on using the changeset viewer.