[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH OSSTEST] mg-execute-flight: create tmp directory if it doesn't exist
Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx> --- mg-execute-flight | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mg-execute-flight b/mg-execute-flight index 8b2c21c..dd64aef 100755 --- a/mg-execute-flight +++ b/mg-execute-flight @@ -66,6 +66,8 @@ export OSSTEST_RESOURCE_PREINFO="[adhoc $blessing]\ : ${OSSTEST_HTMLPUB_DIR:=`getconfig Logs`} +if [ ! -d tmp ]; then mkdir tmp; fi + (./sg-execute-flight $flight $blessing || echo "sg-execute-flight $flight $blessing failed: $?") \ >tmp/$flight.transcript 2>&1 -- 2.1.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |