From 914fb94cac23f7f57df3308f51d2d81ede56cb12 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 15 Mar 2015 11:44:17 +0100 Subject: reproducible: chmod the json file correctly. --- bin/reproducible_json.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin') diff --git a/bin/reproducible_json.py b/bin/reproducible_json.py index d00d5091..fae0d402 100755 --- a/bin/reproducible_json.py +++ b/bin/reproducible_json.py @@ -2,6 +2,7 @@ # -*- coding: utf-8 -*- # # Copyright © 2015 Mattia Rizzolo +# Copyright © 2015 Holger Levsen # Based on reproducible_json.sh © 2014 Holger Levsen # Licensed under GPL-2 # @@ -38,6 +39,7 @@ with open(tmpfile.name, 'w') as fd: json.dump(output, fd, indent=4, sort_keys=True) os.rename(tmpfile.name, REPRODUCIBLE_JSON) +os.chmod(REPRODUCIBLE_JSON, 0o644) log.info(REPRODUCIBLE_URL + '/reproducible.json has been updated.') -- cgit v1.2.3-70-g09d2