mourningdove/bin/build-static.sh

16 lines
524 B
Bash
Raw Normal View History

2026-05-24 01:03:05 +00:00
#!/bin/bash
#
# This program is free software; you may redistribute it and/or modify it under
# the same terms as Perl itself. For a copy of the license, please reference
# 'perldoc perlartistic' or 'perldoc perlgpl'.
#
# Dispatcher: detects available tools and delegates to the appropriate
# build-static implementation.
release=$(cat /etc/lsb-release 2>/dev/null)
if echo "$release" | grep -q '18.04'; then
exec "/home/dw/dw/build-static-legacy.sh" "$@"
else
exec "/home/dw/dw/bin/build-static-modern.sh" "$@"
fi