We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ec3b83f + 65f90d0 commit f0ddcdfCopy full SHA for f0ddcdf
pkg/windows/python_build/build_python.ps1
@@ -1,5 +1,9 @@
1
-New-Item -ItemType directory -Path C:\python_dev
2
-New-Item -ItemType directory -Path C:\buildtools
+if (!(Test-Path 'C:\python_dev')) {
+ New-Item 'C:\python_dev' -ItemType Directory
3
+}
4
+if (!(Test-Path 'C:\buildtools')) {
5
+ New-Item 'C:\buildtools' -ItemType Directory
6
7
Copy-Item 'build.bat' -Destination 'C:\python_dev\build.bat' -Force
8
Copy-Item 'fips_python.patch' -Destination 'C:\python_dev\fips_python.patch' -Force
9
0 commit comments