run: Allow passing arguments to calls when running under gdb

Without this patch running f.e. `CALLS_GDB=1 _build/run -p sip` will not work.
This commit is contained in:
Evangelos Ribeiro Tzaras 2021-06-18 16:48:39 +02:00
parent dbb829be06
commit c520bdae70
1 changed files with 1 additions and 1 deletions

2
run.in
View File

@ -6,7 +6,7 @@ ABS_SRCDIR='@ABS_SRCDIR@'
if [ "${CALLS_GDB}" = 1 ]; then
echo "Running calls under gdb"
WRAPPER="gdb"
WRAPPER="gdb --args"
fi
export GSETTINGS_SCHEMA_DIR="${ABS_BUILDDIR}/data"