Skip to content

Commit

Permalink
no zip on nightshade, using tar
Browse files Browse the repository at this point in the history
  • Loading branch information
James Michael DuPont authored and James Michael DuPont committed Aug 8, 2012
1 parent b080ca5 commit c6cae26
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dumpgenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -821,12 +821,12 @@ def postprocess(path): # now lets post process the outpu
# make a zip file with the path
d =datetime.datetime.now()
datestring =d.strftime("%d%m%y%H%M%S")
zipfilename="wtarchive%s.zip" % datestring
os.system ("zip %s %s/*" % (zipfilename,path))
os.system ("md5sum %s > %s.md5" % (zipfilename,zipfilename))
zipfilename="wtarchive%s.tgz" % datestring
os.system ("tar -czf %s %s/*" % (zipfilename,path))
# os.system ("md5sum %s > %s.md5" % (zipfilename,zipfilename))

push_zip (zipfilename)
push_zip ("%s.md5" % zipfilename)
# push_zip ("%s.md5" % zipfilename)


def main(params=[]):
Expand Down

0 comments on commit c6cae26

Please sign in to comment.