commit d14c03b47f5da7190fd34073a136f4fa586847e2
parent ba43053d2144e466e5d669b2ac73d81c11a57ed8
Author: ThomasV <thomasv@gitorious>
Date: Sun, 25 Jan 2015 19:51:09 +0100
don't use listdir in make_package script
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/make_packages b/contrib/make_packages
@@ -25,7 +25,7 @@ if __name__ == '__main__':
os.chdir("dist")
password = getpass.getpass("Password:")
- for f in os.listdir("."):
+ for f in [_tgz,_zip]:
os.system( "gpg --sign --armor --detach --passphrase \"%s\" %s"%(password, f) )
md5_tgz = hashlib.md5(file(_tgz, 'r').read()).digest().encode('hex')