build+ci: switch to python3
Also in this commit:
* Sync CI scripts with other projects
* Sync sphinx_build waf tool with ndn-cxx
* Modernize docs/conf.py
* Replace redmine_issue extension with sphinx.ext.extlinks
* Fix typo in docs/doxygen.conf.in
* Improve README.md
Refs: #5095
Change-Id: Iee05500f907442dd7cb3e41bd613beef7461dab4
diff --git a/.jenkins.d/util.sh b/.jenkins.d/util.sh
index 8ddc4ba..8077a74 100644
--- a/.jenkins.d/util.sh
+++ b/.jenkins.d/util.sh
@@ -16,6 +16,7 @@
set ${saved_xtrace}
return ${ret}
}
+export -f has
sudo_preserve_env() {
local saved_xtrace
@@ -35,3 +36,4 @@
set ${saved_xtrace}
sudo env "${vars[@]}" "$@"
}
+export -f sudo_preserve_env