|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [OSSTEST PATCH 2/4] standalone-generate-dump-flight-runvars: mkdir -p logs
Otherwise if logs doesn't exist, the code in `standalone' which is
eventually called to build each flight will try to do it - but that
code is not idempotent in the presence of other racing copies of
itself.
Rather than trusting mkdir -p there, do it here.
No change other than to this dev-debugging script.
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
standalone-generate-dump-flight-runvars | 1 +
1 file changed, 1 insertion(+)
diff --git a/standalone-generate-dump-flight-runvars
b/standalone-generate-dump-flight-runvars
index 3b893623..5c93b0af 100755
--- a/standalone-generate-dump-flight-runvars
+++ b/standalone-generate-dump-flight-runvars
@@ -53,6 +53,7 @@ if [ "x$AP_FETCH_PLACEHOLDERS" != xy ]; then
mkdir tmp/apmemo
fi
export AP_FETCH_PFX='./memoise tmp/apmemo'
+ mkdir -p logs
fi
# In the future it might be nice for this script to arrange to use a
--
2.20.1
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |