From bf614d3ddbed494cc2d3f8d4d486ad350b27cbb4 Mon Sep 17 00:00:00 2001 From: bdrewery Date: Wed, 11 Nov 2015 18:45:48 +0000 Subject: 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 --- share/colldef/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'share/colldef/Makefile') 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} -- cgit v1.1