opnsense-src/release/scripts/tools.subr
Bojan Novković ceab09e3db release: Add a helper script for common tools
Add a helper script that populates variables used to invoke several tools.
This is also the first step towards cleaning up several inconsistencies
related to tool invocation in various release scripts (e.g. ${MAKEFS} vs makefs).

Sponsored by: Klara, Inc.
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D51038
Reviewed by:	emaste, des
2025-07-16 17:03:49 +02:00

13 lines
256 B
Bash

#!/bin/sh
#-
# SPDX-License-Identifier: BSD-2-Clause
#
# Copyright (c) 2025 The FreeBSD Foundation
#
# This software was developed by Klara, Inc.
# under sponsorship from the FreeBSD Foundation.
#
: ${ETDUMP:=etdump}
: ${MAKEFS:=makefs}
: ${MKIMG:=mkimg}