diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2015-11-11 18:45:48 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2015-11-11 18:45:48 +0000 |
commit | bf614d3ddbed494cc2d3f8d4d486ad350b27cbb4 (patch) | |
tree | a9be36eec8b5eeebd26272f34083d0d3c1c409b4 /share/ctypedef | |
parent | 443f36fac2cf7129b311a7dbbc2db6fec455be57 (diff) | |
download | FreeBSD-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/ctypedef')
-rw-r--r-- | share/ctypedef/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/share/ctypedef/Makefile b/share/ctypedef/Makefile index fcefcca..21d3820 100644 --- a/share/ctypedef/Makefile +++ b/share/ctypedef/Makefile @@ -176,7 +176,8 @@ FILES= ${LOCALES:S/$/.LC_CTYPE/} 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} |