cjdns: bump v21.1 and patch find-python (#883)
[feed/routing.git] / cjdns / patches / 020-prefer-python2.patch
1 --- a/node_build/FindPython.js
2 +++ b/node_build/FindPython.js
3 @@ -23,7 +23,7 @@ var Fs = require('fs');
4 // de-prioritize because the testing script accepts ANY python3 version
5 // (as of this writing, we don't know what python3 versions actually work)
6 // whereas we know that python2.7 is the only working python2 version.
7 -var PYTHONS = ["python3.7", "python3", "python2.7", "python2", "python"];
8 +var PYTHONS = ["python2", "python2.7", "python3.7", "python3.8", "python3.9", "python3"]
9
10 var SCRIPT = [
11 'import sys',