From a87ede033d75d86d6fd77c652d10d880625fae90 Mon Sep 17 00:00:00 2001 From: Gesina Schwalbe Date: Fri, 2 Jan 2015 17:38:25 +0100 Subject: [PATCH] Indentation fixed; newline --- src/pizza | 60 +++++++++++++++++++++++++++---------------------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/src/pizza b/src/pizza index 3f1c730..c340431 100755 --- a/src/pizza +++ b/src/pizza @@ -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 \ No newline at end of file +exit 0