From ea03581088b7c046c9c34a78d89c3635a77fc762 Mon Sep 17 00:00:00 2001 From: Matthias Neeracher Date: Tue, 26 Jul 2011 21:53:01 +0000 Subject: [PATCH] Deal with spaces in path names --- Tools/lameWrapper | 2 +- Tools/lilyWrapper | 2 +- Tools/mmaWrapper | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Tools/lameWrapper b/Tools/lameWrapper index ee29539..281218a 100755 --- a/Tools/lameWrapper +++ b/Tools/lameWrapper @@ -1,3 +1,3 @@ #!/bin/bash -l -exec lame $* +exec lame "$*" diff --git a/Tools/lilyWrapper b/Tools/lilyWrapper index 0b7c07a..50b1ab0 100755 --- a/Tools/lilyWrapper +++ b/Tools/lilyWrapper @@ -1,6 +1,6 @@ #!/bin/bash -l -export PATH=`dirname $1`:$PATH +export PATH="`dirname $1`":$PATH exec $* diff --git a/Tools/mmaWrapper b/Tools/mmaWrapper index 368729e..ace5274 100755 --- a/Tools/mmaWrapper +++ b/Tools/mmaWrapper @@ -1,4 +1,4 @@ #!/bin/sh -l -cd ${0%/*/*}/share/mma -exec ${0%/*}/mma.py $* +cd "${0%/*/*}"/share/mma +exec "${0%/*}"/mma.py $*