From b9fdae5d678fd00ff420c8fa7b4fbf06298aeb1c Mon Sep 17 00:00:00 2001 From: Leo Vivier Date: Fri, 2 Dec 2022 08:34:04 +0100 Subject: Use variables for input and output --- roles/prerec/templates/reencode.sh | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'roles') diff --git a/roles/prerec/templates/reencode.sh b/roles/prerec/templates/reencode.sh index 66c2f57..5a0128b 100755 --- a/roles/prerec/templates/reencode.sh +++ b/roles/prerec/templates/reencode.sh @@ -32,19 +32,22 @@ done shift `expr $OPTIND - 1` OPTIND=1 +input="$1" +output="$2" + command="$(cat<