bin/run: Survive files with spaces in filenames.

Change-Id: Ifeeb839f82891057fe8e3e8fd6d537861d99f69f
This commit is contained in:
Jan Holesovsky 2015-04-07 16:45:12 +02:00
parent 123c7c1464
commit c5bd865ac6

View file

@ -29,7 +29,7 @@ if uname | grep -i CYGWIN >/dev/null; then
echo "setting search path to: ${PATH}"
echo "execing: ${exedir}/$1"
exec ${LO_TRACE} "${exedir}"/$@
exec ${LO_TRACE} "${exedir}/$@"
elif [ $(uname) = Darwin ]; then
@ -51,7 +51,7 @@ elif [ $(uname) = Darwin ]; then
echo "setting search path to: ${DYLD_LIBRARY_PATH}"
echo "execing: ${exedir}/$1"
exec ${LO_TRACE} "${exedir}"/$@
exec ${LO_TRACE} "${exedir}/$@"
else
@ -73,7 +73,7 @@ else
echo "setting search path to: ${LD_LIBRARY_PATH}"
echo "execing: ${exedir}/$1"
exec ${LO_TRACE} "${exedir}"/$@
exec ${LO_TRACE} "${exedir}/$@"
fi