From c9ed24045a0816973fd2b672ba0f0e43716f27e6 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 28 Apr 2018 16:12:21 +0200 Subject: fix argument handling --- custom/uucp-mediaserver/scripts/queue | 1 + 1 file changed, 1 insertion(+) (limited to 'custom/uucp-mediaserver/scripts/queue') diff --git a/custom/uucp-mediaserver/scripts/queue b/custom/uucp-mediaserver/scripts/queue index ea294a6d..4789f90c 100755 --- a/custom/uucp-mediaserver/scripts/queue +++ b/custom/uucp-mediaserver/scripts/queue @@ -68,6 +68,7 @@ while getopts "frp" OPT; do ;; esac done +shift $((OPTIND-1)) for f (${@}); do f=$(readlink -f ${f}) -- cgit v1.2.3