linux wrapper script: load session with spaces - #6395
This commit is contained in:
parent
619900e333
commit
cbea1a4a82
@ -2,19 +2,18 @@
|
||||
|
||||
# This is Linux-specific startup script for a bundled version of Ardour
|
||||
|
||||
ARGS=""
|
||||
|
||||
while [ $# -gt 0 ] ; do
|
||||
case $1 in
|
||||
|
||||
--debug)
|
||||
DEBUG="T";
|
||||
shift ;;
|
||||
*)
|
||||
ARGS=$ARGS$1" ";
|
||||
shift; ;;
|
||||
checkdebug(){
|
||||
for arg in "$@"
|
||||
do
|
||||
case "$arg" in
|
||||
--debug )
|
||||
DEBUG="T"
|
||||
esac
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
checkdebug "$@"
|
||||
|
||||
|
||||
# LD_LIBRARY_PATH needs to be set here so that epa can swap between the original and the bundled version
|
||||
# (the original one will be stored in PREBUNDLE_ENV)
|
||||
@ -48,8 +47,5 @@ if [ "T" = "$DEBUG" ]; then
|
||||
export ARDOUR_INSIDE_GDB=1
|
||||
exec gdb $INSTALL_DIR/bin/%EXENAME%-%VER%
|
||||
else
|
||||
exec $INSTALL_DIR/bin/%EXENAME%-%VER% $ARGS
|
||||
exec $INSTALL_DIR/bin/%EXENAME%-%VER% "$@"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user