aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2021-08-03 16:00:45 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2021-08-03 16:02:15 +0000
commit30e1773fdef42cb509bf75e9fa09472e77a333de (patch)
tree5e94cd74df8e0f0bdf0f0cc5d65a66917a88e8b1 /tools
parent8b3bd5a2b571e2681c96dbe5b4a04529ef0d7f53 (diff)
downloadsrc-30e1773fdef42cb509bf75e9fa09472e77a333de.tar.gz
src-30e1773fdef42cb509bf75e9fa09472e77a333de.zip
locales: fix abuse of bsd.dirs.mk
the way SAMEDIRS was defined was an abuse of bsd.dirs.mk resulting in all the directory to be created in one single command, but DESTDIR is only prepend once on the first element of the list Switch to the properway to use bsd.dirs.mk
Diffstat (limited to 'tools')
-rwxr-xr-xtools/tools/locale/tools/cldr2def.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/tools/locale/tools/cldr2def.pl b/tools/tools/locale/tools/cldr2def.pl
index 277102d60a49..78b2634b6250 100755
--- a/tools/tools/locale/tools/cldr2def.pl
+++ b/tools/tools/locale/tools/cldr2def.pl
@@ -1081,9 +1081,9 @@ EOF
FILES= \${LOCALES:S/\$/.${SRCOUT2}/}
CLEANFILES= \${FILES}
-DIRS+= SAMEDIRS
.for f t in \${SAME}
-SAMEDIRS+= \${LOCALEDIR}/\$t
+DIRS+= LOCALEDIR_\$t
+LOCALEDIR_\$t= \${LOCALEDIR}/\$t
SYMLINKS+= ../\$f/\${FILESNAME} \\
\${LOCALEDIR}/\$t/\${FILESNAME}
.endfor