[PATCH] tests: enable setting from outside the build directory

Benjamin Berg benjamin at sipsolutions.net
Tue Jul 22 00:27:45 PDT 2025


From: Mordechay Goodstein <mordechay.goodstein at intel.com>

This may be useful in some automation environments that require
control over the build folder.

Signed-off-by: Mordechay Goodstein <mordechay.goodstein at intel.com>
Reviewed-by: Andrei Otcheretianski <andrei.otcheretianski at intel.com>
Signed-off-by: Benjamin Berg <benjamin.berg at intel.com>
---
 tests/build/run-build-tests.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/build/run-build-tests.sh b/tests/build/run-build-tests.sh
index 347ca39a0e..0745f82562 100755
--- a/tests/build/run-build-tests.sh
+++ b/tests/build/run-build-tests.sh
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-DIR=`mktemp -d`
+DIR=${DIR:-`mktemp -d`}
 pushd ../.. > /dev/null
 git archive --format=tar --prefix=hostap-build/ HEAD > $DIR/hostap-build.tar
 popd > /dev/null
-- 
2.50.1




More information about the Hostap mailing list