summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Lasseter <Nathan Lasseter nathan@bytemark.co.uk>2015-11-26 12:02:37 +0000
committerNathan Lasseter <Nathan Lasseter nathan@bytemark.co.uk>2015-11-26 12:02:37 +0000
commit18d0b364716807f0adff7e9f441d4d76bfc44b2b (patch)
treeff5dbd4c4949bb79f4e667fef71232831df109b5
parent0ec126eaa8be83135e91a427e3745cd1f16c24b6 (diff)
Fixed quoting isue in manyplayer
-rwxr-xr-xmanyplayer2
1 files changed, 1 insertions, 1 deletions
diff --git a/manyplayer b/manyplayer
index bc44da9..618b530 100755
--- a/manyplayer
+++ b/manyplayer
@@ -30,7 +30,7 @@ function play_last_file {
local comm=$(<${MANYPLAYER_DIR}/cmd)
local this=$(<${MANYPLAYER_DIR}/last)
local filename=$(<${MANYPLAYER_DIR}/filename)
- exec ${comm/!/${filename/!/$this}}
+ exec $comm "${filename/!/$this}"
}
function play_next_file {