freebsd-src/tools
Jose Luis Duran 934364da7f
locale: tools: Make finalize idempotent
The finalize script renames source files with 3 components in their name
into names with two components with an @modifier, in the process.

Running the script for a second time without cleaning will strip the
@modifier from the files, producing invalid Makefiles and unusable
locales.

Prevent this by adding a guard at the beginning of the script.

Also, use a sub-shell for directory changes to avoid working directory
issues.

Reviewed by:	bapt
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D53981
2025-12-06 12:20:19 +00:00
..
boot boot/universe.sh: toggle LOADER_BIOS_TEXTONLY 2025-09-16 00:38:56 +03:00
bsdbox bsdbox: use paths relative to SRCTOP instead of .CURDIR 2025-04-20 22:45:02 -05:00
build tools: remove WITH_LIBSOFT option 2025-11-28 21:56:34 -07:00
bus_space Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
coccinelle pseudofs: return errors from pfs_create_*() 2025-09-03 21:08:52 -05:00
debugscripts Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:20 -06:00
diag tools/diag/prtblknos: fix build 2025-05-27 15:12:04 -08:00
ifnet convert_ifapi: handle the special case of getting interface name 2025-05-28 15:31:53 +08:00
kerneldoc random: remove hifn(4) 2025-10-28 16:46:15 -07:00
LibraryReport Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
lua Remove $FreeBSD$: one-line lua tag 2023-08-16 11:55:34 -06:00
pkgbase Remove $FreeBSD$: one-line lua tag 2023-08-16 11:55:34 -06:00
regression tools/regression/priv: Don't call setgroups() with the effective GID 2025-09-17 14:16:08 +02:00
sched Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
test stress2: syzkaller87 fixed by ebc17879f0 2025-11-22 10:20:05 +01:00
tools locale: tools: Make finalize idempotent 2025-12-06 12:20:19 +00:00
uma/smrstress machine/stdarg.h -> sys/stdarg.h 2025-06-11 17:39:02 +01:00
install.sh Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
make_libdeps.sh Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
README Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:20 -06:00
tinder.sh Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00

This directory tree contains tools used for the maintenance and
testing of FreeBSD.  There is no toplevel Makefile structure since
these tools are not meant to be built as part of the standard system,
though there may be individual Makefiles in some of the subdirs.

Please read the README files in the subdirs for further information.