mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
Keep repo directory from an import
This commit is contained in:
parent
2b46fa1c99
commit
f49a85b4fb
1 changed files with 5 additions and 0 deletions
|
|
@ -240,6 +240,11 @@ def main():
|
||||||
app['comments'].append(('build:' + version,
|
app['comments'].append(('build:' + version,
|
||||||
"#Generated by import.py - check this is the right version, and find the right commit!"))
|
"#Generated by import.py - check this is the right version, and find the right commit!"))
|
||||||
|
|
||||||
|
# Keep the repo directory to save bandwidth...
|
||||||
|
if not os.path.exists('build'):
|
||||||
|
os.mkdir('build')
|
||||||
|
shutil.move(src_dir, os.path.join('build', package))
|
||||||
|
|
||||||
metafile = os.path.join('metadata', package + '.txt')
|
metafile = os.path.join('metadata', package + '.txt')
|
||||||
common.write_metadata(metafile, app)
|
common.write_metadata(metafile, app)
|
||||||
print "Wrote " + metafile
|
print "Wrote " + metafile
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue