summaryrefslogtreecommitdiffstats
path: root/share/colldef/Makefile
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2015-11-11 18:45:48 +0000
committerbdrewery <bdrewery@FreeBSD.org>2015-11-11 18:45:48 +0000
commitbf614d3ddbed494cc2d3f8d4d486ad350b27cbb4 (patch)
treea9be36eec8b5eeebd26272f34083d0d3c1c409b4 /share/colldef/Makefile
parent443f36fac2cf7129b311a7dbbc2db6fec455be57 (diff)
downloadFreeBSD-src-bf614d3ddbed494cc2d3f8d4d486ad350b27cbb4.zip
FreeBSD-src-bf614d3ddbed494cc2d3f8d4d486ad350b27cbb4.tar.gz
Use explicit filename when creating locale symlinks to avoid creating a
directory symlink when the target directory does not exist. This will cause an error instead of a broken setup. Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'share/colldef/Makefile')
-rw-r--r--share/colldef/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/colldef/Makefile b/share/colldef/Makefile
index b6869e1..308163d 100644
--- a/share/colldef/Makefile
+++ b/share/colldef/Makefile
@@ -175,7 +175,8 @@ FILES= ${LOCALES:S/$/.LC_COLLATE/}
CLEANFILES= ${FILES}
.for f in ${SAME}
-SYMLINKS+= ../${f:C/:.*$//}/${FILESNAME} ${LOCALEDIR}/${f:C/^.*://}
+SYMLINKS+= ../${f:C/:.*$//}/${FILESNAME} \
+ ${LOCALEDIR}/${f:C/^.*://}/${FILESNAME}
.endfor
.for f in ${LOCALES}
OpenPOWER on IntegriCloud