mirror of
https://github.com/github/codeql.git
synced 2026-04-26 09:15:12 +02:00
Python: Copy Python extractor to codeql repo
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
echo "Attempted to run:"
|
||||
echo " python $@"
|
||||
echo "Failing instead."
|
||||
exit 127
|
||||
@@ -0,0 +1,4 @@
|
||||
echo "Attempted to run:"
|
||||
echo " python3 $@"
|
||||
echo "Failing instead."
|
||||
exit 127
|
||||
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash -p
|
||||
|
||||
echo "Fake which called with arguments: $@"
|
||||
|
||||
case $1 in
|
||||
python) exit 1;;
|
||||
python3) exit 1;;
|
||||
*) command /usr/bin/which -- "$1";;
|
||||
esac
|
||||
Reference in New Issue
Block a user