From 9dead1f44dec21ca47c43b688fba9cb50689b7e2 Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Thu, 7 Mar 2024 11:07:21 -0300 Subject: [PATCH] Debugging win32 bundler. --- win/bundle.common | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/win/bundle.common b/win/bundle.common index 5705313..627b11d 100644 --- a/win/bundle.common +++ b/win/bundle.common @@ -403,22 +403,34 @@ make_packages() { if [ "$?" == "0" ]; then echo "Nsis script installed" else - echo "Erro installing nsis" + echo "Error installing nsis" fi else echo "Cant find ${srcdir}/win/${PACKAGE_NAME}.nsi" fi - argument "zip" > /dev/null - if [ "$?" == "0" ]; then - make_zip - fi + if [ -e "${srcdir}/LICENSE" ]; then + mkdir -p "${buildroot}${MINGW_PREFIX}/share/pw3270" + cp "${srcdir}/LICENSE" "${buildroot}${MINGW_PREFIX}/share/pw3270" + if [ "$?" == "0" ]; then + echo "License installed" + else + echo "Error installing license" + fi + else + echo "Cant find ${srcdir}/LICENSE" + fi argument "nsi" > /dev/null if [ "$?" == "0" ]; then make_nsis fi + argument "zip" > /dev/null + if [ "$?" == "0" ]; then + make_zip + fi + } -- libgit2 0.21.2