summaryrefslogtreecommitdiff
path: root/build-aux/logfile-uploader.py
diff options
context:
space:
mode:
authorAdrien Vergé <adrienverge@gmail.com>2018-09-24 16:19:09 +0200
committerNick Vatamaniuc <nickva@users.noreply.github.com>2018-09-27 14:09:45 -0400
commitfbb5588e2d023eb1bcf97cf9e44d483de2b2a62d (patch)
tree5ffe24f750846c9d2ddc3d75649a837a71104b73 /build-aux/logfile-uploader.py
parent60107992135bc65f69ab8528825a13d36d77b4c9 (diff)
downloadcouchdb-fbb5588e2d023eb1bcf97cf9e44d483de2b2a62d.tar.gz
Explicit Python version in scripts
Recent Linux distributions start defaulting to Python 3, and require ambiguous scripts to be more explicit. For example building for Fedora 30 (not released yet) fails with: ERROR: ambiguous python shebang in /opt/couchdb/bin/couchup: #!/usr/bin/env python. Change it to python3 (or python2) explicitly. So this commit changes the four Python scripts to use `python2`. Note: They seem to be Python-3-compatible, but I couldn't be sure. If you know they are, please tell me, I'll change it to `python3`.
Diffstat (limited to 'build-aux/logfile-uploader.py')
-rwxr-xr-xbuild-aux/logfile-uploader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/logfile-uploader.py b/build-aux/logfile-uploader.py
index c84a96a97..a1ff7e4a7 100755
--- a/build-aux/logfile-uploader.py
+++ b/build-aux/logfile-uploader.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of