Indentation fixed; newline

This commit is contained in:
Gesina Schwalbe 2015-01-02 17:38:25 +01:00
parent 99d270f420
commit a87ede033d

View file

@ -28,35 +28,35 @@ fi
while getopts "plbcnhm:s:" opt; do
case ${opt} in
p )
: ${PIZZAART:="pizza"}
;;
l )
: ${PIZZAART:="heart"}
;;
b )
: ${PIZZAART:="birthdaycake"}
;;
c )
: ${PIZZAART:="christmastree"}
;;
n )
: ${PIZZAART:="new_year"}
;;
m )
PIZZARCV="${OPTARG}"
;;
s )
PIZZASEND="${OPTARG}"
;;
h )
help
exit 0
;;
\?)
help
exit 1
;;
p )
: ${PIZZAART:="pizza"}
;;
l )
: ${PIZZAART:="heart"}
;;
b )
: ${PIZZAART:="birthdaycake"}
;;
c )
: ${PIZZAART:="christmastree"}
;;
n )
: ${PIZZAART:="new_year"}
;;
m )
PIZZARCV="${OPTARG}"
;;
s )
PIZZASEND="${OPTARG}"
;;
h )
help
exit 0
;;
\?)
help
exit 1
;;
esac
done
@ -70,4 +70,4 @@ if [ ! $PIZZARCV ]; then
fi
mail -s "${PIZZAUSER} sent you a ${PIZZAART} on ${PIZZAHOST}!" -S from=${PIZZASEND} ${PIZZARCV} < "${PIZZAINC}/${PIZZAART}"
exit 0
exit 0