chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fba0e08
)
Fix import directory bug
author
Ciaran Gultnieks
<ciaran@ciarang.com>
Mon, 20 Aug 2012 11:57:28 +0000
(12:57 +0100)
committer
Ciaran Gultnieks
<ciaran@ciarang.com>
Mon, 20 Aug 2012 11:57:28 +0000
(12:57 +0100)
fdroidserver/import.py
patch
|
blob
|
history
diff --git
a/fdroidserver/import.py
b/fdroidserver/import.py
index 60690fc5f607157313d08afaa19145e506aec2df..783e9c6e606c5ca2122ebda099bc25216a0814d9 100644
(file)
--- a/
fdroidserver/import.py
+++ b/
fdroidserver/import.py
@@
-204,8
+204,8
@@
def main():
# Get a copy of the source so we can extract some info...
print 'Getting source from ' + repotype + ' repo at ' + repo
src_dir = os.path.join(tmp_dir, 'importer')
- if os.path.exists(
tmp
_dir):
- shutil.rmtree(
tmp
_dir)
+ if os.path.exists(
src
_dir):
+ shutil.rmtree(
src
_dir)
vcs = common.getvcs(repotype, repo, src_dir)
vcs.gotorevision(None)
if options.subdir: