Option i ergänzt

This commit is contained in:
qbi 2021-06-06 10:29:38 +02:00
parent 7c5c93444c
commit 09722922b9
1 changed files with 5 additions and 5 deletions

View File

@ -227,8 +227,8 @@ check_sty() (
# false zurück.
print_start "Suche nach $STY_RECHNUNG ..."
kpsewhich "$STY_RECHNUNG" > /dev/null 2>&1
if [ $? -eq 0 ]; then
if kpsewhich "$STY_RECHNUNG" > /dev/null 2>&1 ; then
print_ok
return 0
else
@ -445,8 +445,8 @@ make_invoice() (
# darin befindlichen platzhalter durch die entsprechenden variablen zu
# ersetzen und das ganze zu kompilieren.
check_rechnunsdaten
if [ ! "$?" -eq 0 ]; then
if ! check_rechnunsdaten ; then
return 1
fi
@ -545,7 +545,7 @@ quit() {
# --------------------- #
# CLI Optionen auswerten
while getopts f:hl:qv opt
while getopts f:hi:l:qv opt
do
case $opt in
f) RECHNUNGSFILE=$OPTARG;;