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

New commits:
commit 2e9fa913772816585cf2578e26b5ced745786d58
Author:     Gabor Kelemen <gabor.kelemen.ext...@allotropia.de>
AuthorDate: Thu Aug 11 22:18:39 2022 +0200
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Wed Sep 14 10:02:16 2022 +0200

    Introduce BUILDDIR variable for more flexible configurability
    
    Change-Id: I3b524458efec360a97391968cd480cfbd345c3a4
    Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/138715
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@redhat.com>

diff --git a/test-bugzilla-files/commands.sh b/test-bugzilla-files/commands.sh
index da37678..5ff6dd2 100755
--- a/test-bugzilla-files/commands.sh
+++ b/test-bugzilla-files/commands.sh
@@ -6,7 +6,7 @@ rm tmpdir/* -r
 rm current/* -r
 rm control/* -r
 rm console_*
-cd ~/build/
+cd "$BUILDDIR"
 if [ -z "$CRASHTEST_READONLY_CORE" ]; then
     make clean
 fi
@@ -21,8 +21,9 @@ fi
 SHA=`git rev-parse HEAD`
 echo $SHA
 mkdir /srv/crashtestdata/logs/$SHA
-cd ~/build/
+cd "$BUILDDIR"
 if [ -z "$CRASHTEST_READONLY_CORE" ]; then
+    "$SRCDIR"/autogen.sh
     make build
 fi
 
diff --git a/test-bugzilla-files/config b/test-bugzilla-files/config
index 9622054..f069e32 100644
--- a/test-bugzilla-files/config
+++ b/test-bugzilla-files/config
@@ -1,6 +1,7 @@
 export CRASHTESTDATA=/srv/crashtestdata
 export SRCDIR=/home/$USER/source/libo-core
-export INSTDIR=/home/$USER/build/instdir
+export BUILDDIR=/home/$USER/build
+export INSTDIR=$BUILDDIR/instdir
 export USERDIR=/home/$USER/.config
 
 # Warning limits

Reply via email to