Commit e6d8b2e6 by John Jarvis

fixes some bugs introduced by the -c option

parent 0973f509
...@@ -36,7 +36,7 @@ usage() { ...@@ -36,7 +36,7 @@ usage() {
EO EO
} }
while getopts "vhn" opt; do while getopts "vhnc" opt; do
case $opt in case $opt in
v) v)
set -x set -x
...@@ -49,9 +49,11 @@ while getopts "vhn" opt; do ...@@ -49,9 +49,11 @@ while getopts "vhn" opt; do
n) n)
noop="echo Would have run: " noop="echo Would have run: "
shift shift
;;
c) c)
cron_exclude="--exclude '*log'" cron_exclude=\-\-exclude\ '*log'
shift shift
;;
esac esac
done done
......
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