summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Forbes <sforbes41@gmail.com>2010-12-13 18:33:04 -0500
committerNathan Forbes <sforbes41@gmail.com>2010-12-13 18:33:04 -0500
commitec89ed44099723e19a0758a3c7ece393c66be402 (patch)
tree3ac641b557a7ff583afc78bea71494d7764aa2da
parentfc5cbe47386bca0e6aaeacbe8ffd1b14ef39c1df (diff)
downloadvendor_replicant-ec89ed44099723e19a0758a3c7ece393c66be402.zip
vendor_replicant-ec89ed44099723e19a0758a3c7ece393c66be402.tar.gz
vendor_replicant-ec89ed44099723e19a0758a3c7ece393c66be402.tar.bz2
get-google-files: fix path to proprietary
Apparently this error has been here since my last commit on this was merged. My apologies for not testing thoroughly. Change-Id: If346403b8e2cf90c960d13340684312d66086676
-rwxr-xr-xget-google-files2
1 files changed, 1 insertions, 1 deletions
diff --git a/get-google-files b/get-google-files
index 3c5f21b..eb8ab53 100755
--- a/get-google-files
+++ b/get-google-files
@@ -39,7 +39,7 @@ def download(version):
print "Extracting %s" % filename
try:
bytes = zip.read(filename)
- fd = open("proprietary/"+os.path.basename(filename),"wb")
+ fd = open(os.path.join(os.path.dirname(__file__), "proprietary", os.path.basename(filename)),"wb")
fd.write(bytes)
fd.close()
except Exception, e: