2021-06-03 12:56:21 +02:00
|
|
|
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
|
|
|
|
ABS_BUILDDIR='@ABS_BUILDDIR@'
|
|
|
|
ABS_SRCDIR='@ABS_SRCDIR@'
|
|
|
|
|
2021-06-18 10:21:28 +02:00
|
|
|
if [ "${CALLS_GDB}" = 1 ]; then
|
|
|
|
echo "Running calls under gdb"
|
2021-06-18 16:48:39 +02:00
|
|
|
WRAPPER="gdb --args"
|
2021-06-18 10:21:28 +02:00
|
|
|
fi
|
|
|
|
|
2021-06-03 12:56:21 +02:00
|
|
|
export GSETTINGS_SCHEMA_DIR="${ABS_BUILDDIR}/data"
|
2021-06-04 15:18:20 +02:00
|
|
|
export CALLS_PLUGIN_DIR="${ABS_BUILDDIR}/plugins"
|
2021-06-03 12:56:21 +02:00
|
|
|
set -x
|
2021-06-18 10:21:28 +02:00
|
|
|
exec ${WRAPPER} "${ABS_BUILDDIR}/src/gnome-calls" "$@"
|
2021-06-03 12:56:21 +02:00
|
|
|
|