Skip to content

Commit

Permalink
Optionally set git root CA in wine build
Browse files Browse the repository at this point in the history
- I want to use a https cache for build, that requires to add a new root CA for
  pip, and I can't find a way to do that cleanly  without modifying the
  winebuild.sh script
  • Loading branch information
PeterSurda committed Feb 19, 2020
1 parent ac2df26 commit 32bb2a6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions buildscripts/winbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ function install_python(){
echo "Installing vc_redist (2008) for 32 bit "
wine vcredist_x86.exe /Q
fi
# add cert
if [ -f /usr/local/share/ca-certificates/bitmessage-proxy.crt ]; then
wine python -m pip config set global.cert 'z:\usr\local\share\ca-certificates\bitmessage-proxy.crt'
fi
echo "Upgrading pip"
wine python -m pip install --upgrade pip
}
Expand Down

0 comments on commit 32bb2a6

Please sign in to comment.