aboutsummaryrefslogtreecommitdiffstats
path: root/worker_examples/remote_transcode.sh
diff options
context:
space:
mode:
authorVG <vg@devys.org>2017-05-22 11:29:46 +0200
committerVG <vg@devys.org>2017-05-22 11:29:46 +0200
commit1ca1226593c6731a42b4f294cd46ec1854ccd518 (patch)
tree76889991e3d5f64ebf8a3e99aaf5a73465e55bf1 /worker_examples/remote_transcode.sh
parent25df2821a08e0b746b52ff9d0510e01f1fa7dc9a (diff)
downloadteaqueue-1ca1226593c6731a42b4f294cd46ec1854ccd518.tar.gz
teaqueue-1ca1226593c6731a42b4f294cd46ec1854ccd518.tar.bz2
teaqueue-1ca1226593c6731a42b4f294cd46ec1854ccd518.zip
add escaping for filenames in transcode exampleHEADmaster
Diffstat (limited to 'worker_examples/remote_transcode.sh')
-rw-r--r--worker_examples/remote_transcode.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/worker_examples/remote_transcode.sh b/worker_examples/remote_transcode.sh
index f408731..5f1c3ea 100644
--- a/worker_examples/remote_transcode.sh
+++ b/worker_examples/remote_transcode.sh
@@ -2,5 +2,5 @@
filename="$(cat)"
echo "Downloading file..."
scp remote:"$filename" .
-ffmpeg $(basename $filename) -o out/$(basename $filename)
-scp out/$(basename $filename) remote:out/
+ffmpeg "$(basename "$filename")" -o "out/$(basename "$filename")"
+scp "out/$(basename "$filename")" remote:out/