X-Git-Url: https://scripts.mit.edu/gitweb/wizard.git/blobdiff_plain/e5e340c29da2e4ebcf749a5bac75bc00f9eb5058..05d452073bdb008549a4a69ef47660a7e37115b7:/wizard/command/prepare_pristine.py diff --git a/wizard/command/prepare_pristine.py b/wizard/command/prepare_pristine.py index c545cf8..d6ba256 100644 --- a/wizard/command/prepare_pristine.py +++ b/wizard/command/prepare_pristine.py @@ -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)