aboutsummaryrefslogtreecommitdiff
path: root/javascript/build.py
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2015-11-01 13:05:51 +0000
committerMatthew Hodgson <matthew@matrix.org>2015-11-01 13:05:51 +0000
commit28622db92f006b27b25dcaf6d06eb7b0e69c8687 (patch)
tree71f3fe79282e664dd84cbd308cdd3b4c17351d9d /javascript/build.py
parent22f370c5cdb9ba0b2c6be85948e31d0daf8122d5 (diff)
switch from /usr/bin/python to /usr/bin/env python. this doesn't help folks whose python path points at python3 (e.g. Arch linux) though, but I see no choice than they have to change the shebangs, as we do on Synapse. For instance, OSX doesn't have a python2 symlink, otherwise we'd use /usr/bin/env python2 shebang.
Diffstat (limited to 'javascript/build.py')
-rwxr-xr-xjavascript/build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/javascript/build.py b/javascript/build.py
index 9766906..722a8b9 100755
--- a/javascript/build.py
+++ b/javascript/build.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#! /usr/bin/env python
# Copyright 2015 OpenMarket Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");