diff options
| author | Adrien Vergé <adrienverge@gmail.com> | 2018-09-24 16:19:09 +0200 |
|---|---|---|
| committer | Nick Vatamaniuc <nickva@users.noreply.github.com> | 2018-09-27 14:09:45 -0400 |
| commit | fbb5588e2d023eb1bcf97cf9e44d483de2b2a62d (patch) | |
| tree | 5ffe24f750846c9d2ddc3d75649a837a71104b73 /test | |
| parent | 60107992135bc65f69ab8528825a13d36d77b4c9 (diff) | |
| download | couchdb-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 'test')
| -rwxr-xr-x | test/javascript/run | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/javascript/run b/test/javascript/run index a3b3ab704..11f9faee2 100755 --- a/test/javascript/run +++ b/test/javascript/run @@ -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 |
