add -g to the ardour3 executable to facilitate debugging of this version (similar to the bundle, but a different argument, just to keep things amazing)

git-svn-id: svn://localhost/ardour2/branches/3.0@13340 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-10-25 17:35:07 +00:00
parent 5e4d2afbe8
commit edc8a59355
1 changed files with 7 additions and 1 deletions

View File

@ -47,6 +47,12 @@ export ARDOUR_DATA_PATH=@DATADIR@/ardour3
export ARDOUR_CONFIG_PATH=@SYSCONFDIR@/ardour3
export ARDOUR_DLL_PATH=@LIBDIR@/ardour3
exec @LIBDIR@/ardour3/ardour-@VERSION@ "$@"
if [ $# -gt 0 ] ; then
case $1 in
-g|--gdb) GDB=gdb; shift ;;
esac
fi
exec $GDB @LIBDIR@/ardour3/ardour-@VERSION@ "$@"