Commit d11ca72c authored by thomas.forbriger's avatar thomas.forbriger
Browse files

[FIX] (ThiesDL1): abort DL1sum.sh is no month is selected

parent 99127961
#!/bin/bash
# this is <DL1sum.sh>
# ----------------------------------------------------------------------------
VERSION=2015-01-07
VERSION=2016-01-07
#
# Copyright (c) 2014 by Thomas Forbriger (BFO Schiltach)
#
......@@ -26,6 +26,7 @@ VERSION=2015-01-07
# REVISIONS and CHANGES
# 09/05/2014 V1.0 Thomas Forbriger
# 07/01/2015 implement option -y|--year
# 07/01/2016 abort if no month is selected
#
# ============================================================================
#
......@@ -129,6 +130,10 @@ done
test $USAGE -gt 0 && usage
# ============================================================================
#
# exit if no months are selected
test $# -eq 0 && exit 1
#
#
MAXLEN=0
echo > $OUTFILE
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment