mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-21 10:43:59 +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 stringWithFormat:
|
||||
@"%@ --version | head -1 | awk '{ print $3 }'",
|
||||
@"\"%@\" --version | head -1 | awk '{ print $3 }'",
|
||||
path];
|
||||
return [self getLineFromCommand:cmd];
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/bash -l
|
||||
|
||||
exec lame "$*"
|
||||
exec lame "$@"
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
#!/bin/bash -l
|
||||
|
||||
export PATH="`dirname $1`":$PATH
|
||||
exec $*
|
||||
|
||||
|
||||
|
||||
export PATH="`dirname "$1"`":$PATH
|
||||
exec "$@"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh -l
|
||||
|
||||
cd "${0%/*/*}"/share/mma
|
||||
exec "${0%/*}"/mma.py $*
|
||||
exec "${0%/*}"/mma.py "$@"
|
||||
|
|
Loading…
Reference in New Issue
Block a user