Skip to content

Commit

Permalink
Merge pull request #1399 from eht16/windows_gtk_bundle_add_executable…
Browse files Browse the repository at this point in the history
…_suffix

Windows: Add ".exe" suffix to post install commands
  • Loading branch information
eht16 authored Jan 5, 2025
2 parents 2dd3881 + 2ed42e1 commit a90448c
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions build/gtk-bundle-from-msys2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ p11-kit
readline
sqlite3
termcap
zstd
"

gtk3_dependency_pkgs="
Expand Down Expand Up @@ -206,11 +205,11 @@ delayed_post_install() {
# ca-certificates
DEST=etc/pki/ca-trust/extracted
# OpenSSL PEM bundle that includes trust flags
${EXE_WRAPPER_64} bin/p11-kit extract --format=openssl-bundle --filter=certificates --overwrite $DEST/openssl/ca-bundle.trust.crt
${EXE_WRAPPER_64} bin/p11-kit extract --format=pem-bundle --filter=ca-anchors --overwrite --purpose server-auth $DEST/pem/tls-ca-bundle.pem
${EXE_WRAPPER_64} bin/p11-kit extract --format=pem-bundle --filter=ca-anchors --overwrite --purpose email $DEST/pem/email-ca-bundle.pem
${EXE_WRAPPER_64} bin/p11-kit extract --format=pem-bundle --filter=ca-anchors --overwrite --purpose code-signing $DEST/pem/objsign-ca-bundle.pem
${EXE_WRAPPER_64} bin/p11-kit extract --format=java-cacerts --filter=ca-anchors --overwrite --purpose server-auth $DEST/java/cacerts
${EXE_WRAPPER_64} bin/p11-kit.exe extract --format=openssl-bundle --filter=certificates --overwrite $DEST/openssl/ca-bundle.trust.crt
${EXE_WRAPPER_64} bin/p11-kit.exe extract --format=pem-bundle --filter=ca-anchors --overwrite --purpose server-auth $DEST/pem/tls-ca-bundle.pem
${EXE_WRAPPER_64} bin/p11-kit.exe extract --format=pem-bundle --filter=ca-anchors --overwrite --purpose email $DEST/pem/email-ca-bundle.pem
${EXE_WRAPPER_64} bin/p11-kit.exe extract --format=pem-bundle --filter=ca-anchors --overwrite --purpose code-signing $DEST/pem/objsign-ca-bundle.pem
${EXE_WRAPPER_64} bin/p11-kit.exe extract --format=java-cacerts --filter=ca-anchors --overwrite --purpose server-auth $DEST/java/cacerts
mkdir -p ssl/certs
cp -f $DEST/pem/tls-ca-bundle.pem ssl/certs/ca-bundle.crt
cp -f $DEST/pem/tls-ca-bundle.pem ssl/cert.pem
Expand Down

0 comments on commit a90448c

Please sign in to comment.