mirror of https://gitee.com/bigwinds/arangodb
TEMP: use python3
This commit is contained in:
parent
22e8a34ce8
commit
426bca5ace
|
@ -136,7 +136,7 @@ function findFreePort() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function main(argv) {
|
function main(argv) {
|
||||||
let thePython = 'python';
|
let thePython = 'python3';
|
||||||
if (fs.exists('build/CMakeCache.txt')) {
|
if (fs.exists('build/CMakeCache.txt')) {
|
||||||
let CMakeCache = fs.readFileSync('build/CMakeCache.txt');
|
let CMakeCache = fs.readFileSync('build/CMakeCache.txt');
|
||||||
thePython = CMakeCache.toString().match(/^PYTHON_EXECUTABLE:FILEPATH=(.*)$/m)[1];
|
thePython = CMakeCache.toString().match(/^PYTHON_EXECUTABLE:FILEPATH=(.*)$/m)[1];
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
exec python \
|
exec python3 \
|
||||||
`pwd`/utils/generateSwagger.py \
|
`pwd`/utils/generateSwagger.py \
|
||||||
`pwd` \
|
`pwd` \
|
||||||
`pwd`/js/apps/system/_admin/aardvark/APP/api-docs \
|
`pwd`/js/apps/system/_admin/aardvark/APP/api-docs \
|
||||||
|
|
Loading…
Reference in New Issue