aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build-firmware-package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build-firmware-package.py b/scripts/build-firmware-package.py
index 659a63f..1a96fc7 100755
--- a/scripts/build-firmware-package.py
+++ b/scripts/build-firmware-package.py
@@ -26,7 +26,7 @@ for fn in args.firmware:
tar.add(fn, os.path.basename(fn))
with tempfile.NamedTemporaryFile() as f:
- os.fchmod(f.fileno(), 0644)
+ os.fchmod(f.fileno(), 0o644)
use_gpg = os.path.isdir(os.getenv("GNUPGHOME", ""))
if use_gpg:
gpg = subprocess.Popen(("gpg", "--clearsign", "--personal-digest-preferences", "SHA256", "--no-permission-warning"),