Changeset 2507 for palm/trunk


Ignore:
Timestamp:
Sep 29, 2017 10:55:13 AM (7 years ago)
Author:
raasch
Message:

bugfix for determining cycle numbers of NetCDF input files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/palmrun

    r2506 r2507  
    2727# -----------------
    2828# $Id$
     29# bugfix for determining cycle numbers of NetCDF input files
     30#
     31# 2506 2017-09-29 08:30:37Z raasch
    2932# option -V added to check for an existing SOURCES_FOR_RUN_... folder
    3033# host configuration added to SOURCES_FOR_RUN_... folder name
     
    992995              # check if there is an extension
    993996           extension=${basefilename##*.}
    994            if [[ "$extension" = "$extin[$i]" ]]
     997           if [[ "$extension" = "${extin[$i]}" ]]
    995998           then
    996               basefilename=${basefilename&.*}
     999              basefilename=${basefilename%.*}
    9971000           fi
    9981001
Note: See TracChangeset for help on using the changeset viewer.