mirror of
https://github.com/debauchee/barrier.git
synced 2024-12-25 20:13:23 +03:00
created dist src export path
This commit is contained in:
parent
b85432aeee
commit
90aa90f19f
@ -1192,6 +1192,7 @@ class InternalCommands:
|
||||
shutil.rmtree(exportPath)
|
||||
|
||||
print 'Exporting repository to: ' + exportPath
|
||||
os.mkdir(exportPath)
|
||||
err = os.system('git archive master | tar -x -C ' + exportPath)
|
||||
if err != 0:
|
||||
raise Exception('Repository export failed: ' + str(err))
|
||||
|
Loading…
Reference in New Issue
Block a user