Before we write common.env to the tests/qemu-iotests directory, ensure
that it exists. This fixes out-of-tree builds from clean.

Signed-off-by: Peter Maydell <peter.mayd...@linaro.org>
---
If somebody would like to review this I'll apply it to master as
a buildfix...

 configure | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure b/configure
index 6adfa72..c4e43ed 100755
--- a/configure
+++ b/configure
@@ -4770,6 +4770,7 @@ fi
 
 iotests_common_env="tests/qemu-iotests/common.env"
 
+mkdir -p "$(dirname "$iotests_common_env")"
 echo "# Automatically generated by configure - do not modify" > 
$iotests_common_env
 echo >> $iotests_common_env
 echo "PYTHON='$python'" >> $iotests_common_env
-- 
1.9.2


Reply via email to