created dist src export path

This commit is contained in:
Nick Bolton 2014-10-20 19:26:57 +01:00
parent 3b3cec4040
commit 8b4a3a8b92
1 changed files with 1 additions and 0 deletions

View File

@ -1192,6 +1192,7 @@ class InternalCommands:
shutil.rmtree(exportPath) shutil.rmtree(exportPath)
print 'Exporting repository to: ' + exportPath print 'Exporting repository to: ' + exportPath
os.mkdir(exportPath)
err = os.system('git archive master | tar -x -C ' + exportPath) err = os.system('git archive master | tar -x -C ' + exportPath)
if err != 0: if err != 0:
raise Exception('Repository export failed: ' + str(err)) raise Exception('Repository export failed: ' + str(err))