Oops, specifying a custom output file now works
This commit is contained in:
parent
e3b486f8b7
commit
62a82b1088
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ set -e
|
||||||
# Arg parser
|
# Arg parser
|
||||||
while [ ! $# == 0 ]; do
|
while [ ! $# == 0 ]; do
|
||||||
case "$1" in
|
case "$1" in
|
||||||
-o | --output) OUTPUT=$2;;
|
-o | --output) shift; OUTPUT=$1;;
|
||||||
*)
|
*)
|
||||||
if [[ -f $1 ]]; then
|
if [[ -f $1 ]]; then
|
||||||
INPUT=$1
|
INPUT=$1
|
||||||
|
|
Loading…
Reference in a new issue