Oops, specifying a custom output file now works

This commit is contained in:
Logan G 2021-12-29 22:45:36 -07:00
parent e3b486f8b7
commit 62a82b1088
Signed by: logan
GPG key ID: E328528C921E7A7A

View file

@ -4,7 +4,7 @@ set -e
# Arg parser
while [ ! $# == 0 ]; do
case "$1" in
-o | --output) OUTPUT=$2;;
-o | --output) shift; OUTPUT=$1;;
*)
if [[ -f $1 ]]; then
INPUT=$1