Skip to contentSkip to conversation

mg-execute-flight: create tmp directory before using it

PATCH In review Wei Liu 2 participants 2 messages Dec 7, 2015

lore
Share & tools
lore

Wei Liu

author
#0 lore raw

PATCH v2 1/1 mg-execute-flight: create tmp directory before using it

---
 mg-execute-flight | 2 ++
 1 file changed, 2 insertions(+)
mg-execute-flight +2 -0
index 8b2c21c..b0172e0 100755
@@ -66,6 +66,8 @@ export OSSTEST_RESOURCE_PREINFO="[adhoc $blessing]\
 
 : ${OSSTEST_HTMLPUB_DIR:=`getconfig Logs`}
 
+mkdir -p tmp
+
 (./sg-execute-flight $flight $blessing ||
  echo "sg-execute-flight $flight $blessing failed: $?") \
  >tmp/$flight.transcript 2>&1
Signature · 1 line
2.1.4