mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-12-04 20:07:36 +00:00
run: Run under gdb when CALLS_GDB is set to 1
This commit is contained in:
parent
4948148bfe
commit
4324f683e7
1 changed files with 6 additions and 1 deletions
7
run.in
7
run.in
|
@ -4,8 +4,13 @@ set -e
|
|||
ABS_BUILDDIR='@ABS_BUILDDIR@'
|
||||
ABS_SRCDIR='@ABS_SRCDIR@'
|
||||
|
||||
if [ "${CALLS_GDB}" = 1 ]; then
|
||||
echo "Running calls under gdb"
|
||||
WRAPPER="gdb"
|
||||
fi
|
||||
|
||||
export GSETTINGS_SCHEMA_DIR="${ABS_BUILDDIR}/data"
|
||||
export CALLS_PLUGIN_DIR="${ABS_BUILDDIR}/plugins"
|
||||
set -x
|
||||
exec "${ABS_BUILDDIR}/src/gnome-calls" "$@"
|
||||
exec ${WRAPPER} "${ABS_BUILDDIR}/src/gnome-calls" "$@"
|
||||
|
||||
|
|
Loading…
Reference in a new issue