From deb1b6d4f18a8bc2ab360d28c7b290c260443e9c Mon Sep 17 00:00:00 2001 From: Willi Goesgens Date: Tue, 25 Aug 2015 18:08:55 +0200 Subject: [PATCH] use portability path dir separator --- Documentation/Scripts/generateExamples.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/Scripts/generateExamples.py b/Documentation/Scripts/generateExamples.py index 902aa3f654..2cb8731f9b 100644 --- a/Documentation/Scripts/generateExamples.py +++ b/Documentation/Scripts/generateExamples.py @@ -363,7 +363,7 @@ def generateArangoshOutput(testName): print("[" + (time () - startTime) + "s] done with " + testName); output = highlight("js", output); - fs.write(outputDir + '/' + testName + '.generated', output); + fs.write(outputDir + fs.pathSeparator + testName + '.generated', output); checkForOrphanTestCollections('not all collections were cleaned up after ' + sourceFile + ' Line[' + startLineCount + '] [' + testName + ']:'); }()); ''' @@ -419,7 +419,7 @@ def generateArangoshRun(testName): } print("[" + (time () - startTime) + "s] " + rc); output = highlight("js", output); - fs.write(outputDir + '/' + testName + '.generated', output); + fs.write(outputDir + fs.pathSeparator + testName + '.generated', output); checkForOrphanTestCollections('not all collections were cleaned up after ' + sourceFile + ' Line[' + startLineCount + '] [' + testName + ']:'); }()); '''