change working directory in development scripts to allow running from other directories

This commit is contained in:
Jussi Kuokkanen 2023-08-10 18:57:32 +03:00
parent 4312f0bb1c
commit 881258587d
3 changed files with 6 additions and 0 deletions

View File

@ -1 +1,3 @@
cd "$(dirname "$0")"
DBUS_VERBOSE=1 sudo dbus-daemon --config-file=dbusconf.conf --nofork

View File

@ -1 +1,3 @@
cd "$(dirname "$0")"
DBUS_SYSTEM_BUS_ADDRESS='unix:path=/tmp/tuxclocker-dbus-socket' ../inst/bin/tuxclocker-qt

View File

@ -1 +1,3 @@
cd "$(dirname "$0")"
DBUS_SYSTEM_BUS_ADDRESS=unix:path=/tmp/tuxclocker-dbus-socket sudo -E LD_LIBRARY_PATH=../inst/lib ../inst/bin/tuxclockerd