test-bugzilla-files/commands.sh |    4 ++--
 test-bugzilla-files/config      |    1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 16b22c8ec9b86d6dcee529e5cc99810d018b1a24
Author:     Gabor Kelemen <[email protected]>
AuthorDate: Fri Aug 19 17:06:52 2022 +0200
Commit:     Caolán McNamara <[email protected]>
CommitDate: Wed Sep 14 11:47:44 2022 +0200

    Make dev-tools source dir a bit less hard-coded
    
    Change-Id: I322bbd2895e53b32c944f772c12f93bf9e6e17e8
    Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/138722
    Reviewed-by: Caolán McNamara <[email protected]>
    Tested-by: Caolán McNamara <[email protected]>

diff --git a/test-bugzilla-files/commands.sh b/test-bugzilla-files/commands.sh
index 692bbdf..ac2f69a 100755
--- a/test-bugzilla-files/commands.sh
+++ b/test-bugzilla-files/commands.sh
@@ -10,7 +10,7 @@ cd "$BUILDDIR"
 if [ -z "$CRASHTEST_READONLY_CORE" ]; then
     make clean
 fi
-cd ~/source/dev-tools/
+cd "$DTPATH"
 if [ -z "$CRASHTEST_READONLY_DEVTOOLS" ]; then
        git pull -r
 fi
@@ -35,7 +35,7 @@ if [ "$?" != "0" ]; then
 fi
 
 ulimit -c unlimited
-cd ~/source/dev-tools/test-bugzilla-files/
+cd "$DTPATH"/test-bugzilla-files/
 python3 new-control.py "$CRASHTESTDATA"/files/
 
 if [ "$?" != "0" ]; then
diff --git a/test-bugzilla-files/config b/test-bugzilla-files/config
index 199b191..3276db0 100644
--- a/test-bugzilla-files/config
+++ b/test-bugzilla-files/config
@@ -4,6 +4,7 @@ export BUILDDIR=/home/$USER/build
 export INSTDIR=$BUILDDIR/instdir
 export USERDIR=/home/$USER/.config
 export WORKERS=30
+export DTPATH=~/source/dev-tools/
 
 # Warning limits
 export DISKSPACELIMIT=5      # Remaining disk space warning limit in GiB.

Reply via email to