Permalink
Browse files

do md5 for src

  • Loading branch information...
1 parent 6c2d4e5 commit b816896ebf5892c64c7c64b46721bc8167f59b96 @erh erh committed Mar 30, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 buildscripts/s3md5.py
View
4 buildscripts/s3md5.py
@@ -18,7 +18,7 @@ def check_dir( bucket , prefix ):
zips = {}
md5s = {}
for ( key , modify , etag , size ) in bucket.listdir( prefix=prefix ):
- if key.endswith( ".tgz" ) or key.endswith( ".zip" ):
+ if key.endswith( ".tgz" ) or key.endswith( ".zip" ) or key.endswith( ".tar.gz" ):
zips[key] = etag.replace( '"' , '' )
elif key.endswith( ".md5" ):
md5s[key] = True
@@ -40,7 +40,7 @@ def run():
bucket = simples3.S3Bucket( settings.bucket , settings.id , settings.key )
- for x in [ "osx" , "linux" , "win32" , "sunos5" ]:
+ for x in [ "osx" , "linux" , "win32" , "sunos5" , "src" ]:
check_dir( bucket , x )

0 comments on commit b816896

Please sign in to comment.