share/mk: Use :ts,:[*] to stringify TAG_ARGS

This avoids a situation where we sometimes prepend an empty tag,
leading to arguments like "-T ,package=foo".

Reviewed by:		manu
Differential Revision:	https://reviews.freebsd.org/D51785
This commit is contained in:
Lexi Winter
2025-08-07 12:44:01 +01:00
parent 1e629ebb15
commit 399faa7d3a
8 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ ${group}TAGS+= package=${${group}PACKAGE:Uutilities},dev
${group}TAGS+= package=${PACKAGE:Uutilities},dev
.endif
.endif
${group}TAG_ARGS= -T ${${group}TAGS:[*]:S/ /,/g}
${group}TAG_ARGS= -T ${${group}TAGS:ts,:[*]}
.endif
_${group}INCS=