summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorOmair Majid <omajid@redhat.com>2018-08-01 12:02:53 -0400
committerJan Kotas <jkotas@microsoft.com>2018-08-01 09:02:53 -0700
commit5164e76ce01fc36833a7f5e6fb7b1ec2f55c2262 (patch)
treedb9cb3bd900c11cda4346033645e98d884fcc407 /build.sh
parent791403ad54828b88ae06f6226356adca14b1a530 (diff)
downloadcoreclr-5164e76ce01fc36833a7f5e6fb7b1ec2f55c2262.tar.gz
coreclr-5164e76ce01fc36833a7f5e6fb7b1ec2f55c2262.tar.bz2
coreclr-5164e76ce01fc36833a7f5e6fb7b1ec2f55c2262.zip
Use the identified python when building System.Private.CoreLib (#19043)
build.sh and build.cmd contain logic to identify a working version of python to use. System.Private.CoreLib ignores that and directly invokes 'python', which may not work, or even execute a different program.
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index 091d6227ca..4002f2744c 100755
--- a/build.sh
+++ b/build.sh
@@ -22,6 +22,8 @@ then
exit 1
fi
+export PYTHON
+
usage()
{
echo "Usage: $0 [BuildArch] [BuildType] [-verbose] [-coverage] [-cross] [-clangx.y] [-ninja] [-configureonly] [-skipconfigure] [-skipnative] [-skipmscorlib] [-skiptests] [-stripsymbols] [-ignorewarnings] [-cmakeargs] [-bindir]"