mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-11-19 01:51:46 +00:00
c520bdae70
Without this patch running f.e. `CALLS_GDB=1 _build/run -p sip` will not work.
16 lines
335 B
Bash
Executable file
16 lines
335 B
Bash
Executable file
#!/bin/sh
|
|
set -e
|
|
|
|
ABS_BUILDDIR='@ABS_BUILDDIR@'
|
|
ABS_SRCDIR='@ABS_SRCDIR@'
|
|
|
|
if [ "${CALLS_GDB}" = 1 ]; then
|
|
echo "Running calls under gdb"
|
|
WRAPPER="gdb --args"
|
|
fi
|
|
|
|
export GSETTINGS_SCHEMA_DIR="${ABS_BUILDDIR}/data"
|
|
export CALLS_PLUGIN_DIR="${ABS_BUILDDIR}/plugins"
|
|
set -x
|
|
exec ${WRAPPER} "${ABS_BUILDDIR}/src/gnome-calls" "$@"
|
|
|