]> scripts.mit.edu Git - wizard.git/blobdiff - wizard/command/prepare_pristine.py
Implement Wordpress installer for 2.0.2 w/ sqlalchemy.
[wizard.git] / wizard / command / prepare_pristine.py
index c545cf88f8ae9e8d223e39c89d33bb19d7af4cff..d6ba256552f3b8084aa0a0a15c78ba113919a906 100644 (file)
@@ -17,7 +17,7 @@ def main(argv, baton):
             infile = urllib.urlopen(url)
             shutil.copyfileobj(infile, outfile)
     else:
-        base = os.path.basename(args[0])
+        base = args[0]
     # extract the files, but be smart: if only one directory is output,
     # move the contents of that directory here
     sh.call("tar", "xf", base)