use 7-z for extract

This commit is contained in:
Jay Lee
2019-05-17 16:45:40 -04:00
parent bbdce9536b
commit 627db97b30
2 changed files with 7 additions and 2 deletions

View File

@@ -7,7 +7,8 @@ if [ ! -e $msifile ]; then
wget --quiet https://slproweb.com/download/$msifile
fi
if [ ! -e ssl/libeay32.dll ]; then
msiexec /a $msifile /qn TARGETDIR=ssl
echo "Extracting $msifile..."
/c/Program\ Files/7-Zip/7z.exe e $msifile -ossl
fi
echo "OpenSSL dlls..."
ls -al ssl
@@ -16,6 +17,7 @@ ls -al /c/Python37/DLLs
cp -v ssl/*.dll /c/Python37/DLLs
export PATH=$PATH:/c/Python37/scripts
until cinst -y wixtoolset; do echo "trying again..."; done
cd ~
pip install --upgrade pip
pip freeze > upgrades.txt
pip install --upgrade -r upgrades.txt

View File

@@ -3,10 +3,12 @@ cinst -y python3
cd ~/pybuild
msifile=Win64OpenSSL_Light-${BUILD_OPENSSL_VERSION//./_}.msi
if [ ! -e $msifile ]; then
echo "Downloading $msifile..."
wget --quiet https://slproweb.com/download/$msifile
fi
if [ ! -e ssl/libeay32.dll ]; then
msiexec /a $msifile /qn TARGETDIR=ssl
echo "Extracting $msifile..."
/c/Program\ Files/7-Zip/7z.exe e $msifile -ossl
fi
echo "OpenSSL dlls..."
ls -al ssl
@@ -15,6 +17,7 @@ ls -al /c/Python37/DLLs
cp -v /c/Program\ Files/OpenSSL/bin/*.dll /c/Python37/DLLs
export PATH=$PATH:/c/Python37/scripts
until cinst -y wixtoolset; do echo "trying again..."; done
cd ~
pip install --upgrade pip
pip freeze > upgrades.txt
pip install --upgrade -r upgrades.txt