Skip to content

Instantly share code, notes, and snippets.

View uulm-janbaudisch's full-sized avatar

Jan Baudisch uulm-janbaudisch

View GitHub Profile
@uulm-janbaudisch
uulm-janbaudisch / package-msys.bash
Created December 18, 2023 11:55
A packaging script for creating distributable archives of software built in MSYS2.
#!/bin/bash
# Check if running from within MSYS2.
if [ -z "$MSYSTEM" ];
then
>&2 echo "This is intended to be run from within an MSYS2 environment."
exit 1
fi
# Check arguments for correct length.