[Libguestfs] [PATCH 1/2] ./run: Make sure that the temporary directory exists so test scripts can produce output files

Hilko Bengen bengen at hilluzination.de
Thu Sep 20 17:36:20 UTC 2012


---
 run.in |    1 +
 1 file changed, 1 insertion(+)

diff --git a/run.in b/run.in
index ed4971b..548ac20 100644
--- a/run.in
+++ b/run.in
@@ -51,6 +51,7 @@ b=@abs_builddir@
 #
 #   chcon --reference=/tmp tmp
 export TMPDIR="$b/tmp"
+mkdir -p "$b/tmp"
 
 # Set local environment relative to this script.
 export LIBGUESTFS_PATH="$b/appliance"
-- 
1.7.10.4




More information about the Libguestfs mailing list