FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
codeql/python/tools/autobuild.sh at codeql-cli/v2.26.3 · github/codeql · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
github
/
codeql
Public
Notifications
You must be signed in to change notification settings
Fork
2.1k
Star
10k
Code
Issues
997
Pull requests
459
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
codeql
/
python
/
tools
/
autobuild.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
18 lines (15 loc) · 591 Bytes
Breadcrumbs
codeql
/
python
/
tools
/
autobuild.sh
Copy path
File metadata and controls
executable file
·
18 lines (15 loc) · 591 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!
/bin/sh
set
-eu
#
Legacy environment variables for the autobuild infrastructure.
LGTM_SRC=
"
$(
pwd
)
"
LGTM_WORKSPACE=
"
$CODEQL_EXTRACTOR_PYTHON_SCRATCH_DIR
"
export
LGTM_SRC
export
LGTM_WORKSPACE
if
which python3
>
/dev/null
;
then
exec
python3
"
$CODEQL_EXTRACTOR_PYTHON_ROOT
/tools/index.py
"
elif
which python
>
/dev/null
;
then
exec
python
"
$CODEQL_EXTRACTOR_PYTHON_ROOT
/tools/index.py
"
else
echo
"
ERROR: Could not find a valid Python distribution. It should be available when running 'which python' or 'which python3' in your shell. Python 2 is no longer supported.
"
exit
1
fi
Back
|
FazBrowse Home
|
New Git URL