mirror of https://github.com/KLayout/klayout.git
Updated Windows build script so the installation won't get polluted by /bin files.
This commit is contained in:
parent
4ae71075ed
commit
e7989c4006
|
|
@ -190,8 +190,12 @@ first=1
|
|||
pythons=$($python -c "import sys; print('\n'.join(sys.path))" | sort)
|
||||
for p in $pythons; do
|
||||
p=$(cygpath $p)
|
||||
rp=""
|
||||
if [[ $p == "$mingw_inst"* ]] && [ -e "$p" ]; then
|
||||
rp=${p/"$mingw_inst/"}
|
||||
fi
|
||||
# NOTE: "bin" is in the path sometimes and will pollute our installation, so we skip it
|
||||
if [ "$rp" != "" ] && [ "$rp" != "bin" ]; then
|
||||
if [ $first == "0" ]; then
|
||||
echo "," >>$target/.python-paths.txt
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue