From 4c01f159cb3d7cb961cbe85d200d1d25386989e4 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Tue, 30 Sep 2014 12:26:01 +0200 Subject: Fix resolve first (not last) input. --- localvideowebencode | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localvideowebencode b/localvideowebencode index f3e80a7..8befac3 100755 --- a/localvideowebencode +++ b/localvideowebencode @@ -156,7 +156,7 @@ melt_recent=$(melt -query filter=loudness | grep -qi R128 && echo yes) # sanitize infiles infiles=$* -infile_first=$(perl -e 'print pop @ARGV' $infiles) +infile_first=$(perl -e 'print shift @ARGV' $infiles) [ -e "$infile_first" ] || exit1 "Cannot read first input file \"$infile_first\"!" # resolve stem and title (if not explicitly set) -- cgit v1.2.3