diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-28 16:12:21 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-28 16:12:21 +0200 |
commit | c9ed24045a0816973fd2b672ba0f0e43716f27e6 (patch) | |
tree | 87d07ee0de3ee3e0e46eac1b223c0bfe2fc5620b /custom/uucp-mediaserver | |
parent | 053638f898cd26a7c3c1f10e78dc4ee1adb8ca30 (diff) | |
download | nixos-c9ed24045a0816973fd2b672ba0f0e43716f27e6.tar nixos-c9ed24045a0816973fd2b672ba0f0e43716f27e6.tar.gz nixos-c9ed24045a0816973fd2b672ba0f0e43716f27e6.tar.bz2 nixos-c9ed24045a0816973fd2b672ba0f0e43716f27e6.tar.xz nixos-c9ed24045a0816973fd2b672ba0f0e43716f27e6.zip |
fix argument handling
Diffstat (limited to 'custom/uucp-mediaserver')
-rwxr-xr-x | custom/uucp-mediaserver/scripts/queue | 1 |
1 files changed, 1 insertions, 0 deletions
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 | |||
68 | ;; | 68 | ;; |
69 | esac | 69 | esac |
70 | done | 70 | done |
71 | shift $((OPTIND-1)) | ||
71 | 72 | ||
72 | for f (${@}); do | 73 | for f (${@}); do |
73 | f=$(readlink -f ${f}) | 74 | f=$(readlink -f ${f}) |