mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 03:04:00 +00:00
Handle spaces in path names (Tracker #3166409)
This commit is contained in:
parent
e4782c781d
commit
7b035f66bb
|
@ -100,7 +100,7 @@
|
||||||
{
|
{
|
||||||
NSString * cmd =
|
NSString * cmd =
|
||||||
[NSString stringWithFormat:
|
[NSString stringWithFormat:
|
||||||
@"%@ --version | head -1 | awk '{ print $3 }'",
|
@"\"%@\" --version | head -1 | awk '{ print $3 }'",
|
||||||
path];
|
path];
|
||||||
return [self getLineFromCommand:cmd];
|
return [self getLineFromCommand:cmd];
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/bash -l
|
#!/bin/bash -l
|
||||||
|
|
||||||
exec lame "$*"
|
exec lame "$@"
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
#!/bin/bash -l
|
#!/bin/bash -l
|
||||||
|
|
||||||
export PATH="`dirname $1`":$PATH
|
export PATH="`dirname "$1"`":$PATH
|
||||||
exec $*
|
exec "$@"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh -l
|
#!/bin/sh -l
|
||||||
|
|
||||||
cd "${0%/*/*}"/share/mma
|
cd "${0%/*/*}"/share/mma
|
||||||
exec "${0%/*}"/mma.py $*
|
exec "${0%/*}"/mma.py "$@"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user