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
This commit is contained in:
parent
b3932817a4
commit
d4ea5890a8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=290677
@ -175,7 +175,8 @@ FILES= ${LOCALES:S/$/.LC_COLLATE/}
|
|||||||
CLEANFILES= ${FILES}
|
CLEANFILES= ${FILES}
|
||||||
|
|
||||||
.for f in ${SAME}
|
.for f in ${SAME}
|
||||||
SYMLINKS+= ../${f:C/:.*$//}/${FILESNAME} ${LOCALEDIR}/${f:C/^.*://}
|
SYMLINKS+= ../${f:C/:.*$//}/${FILESNAME} \
|
||||||
|
${LOCALEDIR}/${f:C/^.*://}/${FILESNAME}
|
||||||
.endfor
|
.endfor
|
||||||
|
|
||||||
.for f in ${LOCALES}
|
.for f in ${LOCALES}
|
||||||
|
@ -176,7 +176,8 @@ FILES= ${LOCALES:S/$/.LC_CTYPE/}
|
|||||||
CLEANFILES= ${FILES}
|
CLEANFILES= ${FILES}
|
||||||
|
|
||||||
.for f in ${SAME}
|
.for f in ${SAME}
|
||||||
SYMLINKS+= ../${f:C/:.*$//}/${FILESNAME} ${LOCALEDIR}/${f:C/^.*://}
|
SYMLINKS+= ../${f:C/:.*$//}/${FILESNAME} \
|
||||||
|
${LOCALEDIR}/${f:C/^.*://}/${FILESNAME}
|
||||||
.endfor
|
.endfor
|
||||||
|
|
||||||
.for f in ${LOCALES}
|
.for f in ${LOCALES}
|
||||||
|
@ -173,7 +173,8 @@ FILES= ${LOCALES:S/$/.out/}
|
|||||||
CLEANFILES= ${FILES}
|
CLEANFILES= ${FILES}
|
||||||
|
|
||||||
.for f in ${SAME}
|
.for f in ${SAME}
|
||||||
SYMLINKS+= ../${f:C/:.*$//}/${FILESNAME} ${LOCALEDIR}/${f:C/^.*://}
|
SYMLINKS+= ../${f:C/:.*$//}/${FILESNAME} \
|
||||||
|
${LOCALEDIR}/${f:C/^.*://}/${FILESNAME}
|
||||||
.endfor
|
.endfor
|
||||||
|
|
||||||
.for f in ${LOCALES}
|
.for f in ${LOCALES}
|
||||||
|
@ -173,7 +173,8 @@ FILES= ${LOCALES:S/$/.out/}
|
|||||||
CLEANFILES= ${FILES}
|
CLEANFILES= ${FILES}
|
||||||
|
|
||||||
.for f in ${SAME}
|
.for f in ${SAME}
|
||||||
SYMLINKS+= ../${f:C/:.*$//}/${FILESNAME} ${LOCALEDIR}/${f:C/^.*://}
|
SYMLINKS+= ../${f:C/:.*$//}/${FILESNAME} \
|
||||||
|
${LOCALEDIR}/${f:C/^.*://}/${FILESNAME}
|
||||||
.endfor
|
.endfor
|
||||||
|
|
||||||
.for f in ${LOCALES}
|
.for f in ${LOCALES}
|
||||||
|
@ -173,7 +173,8 @@ FILES= ${LOCALES:S/$/.out/}
|
|||||||
CLEANFILES= ${FILES}
|
CLEANFILES= ${FILES}
|
||||||
|
|
||||||
.for f in ${SAME}
|
.for f in ${SAME}
|
||||||
SYMLINKS+= ../${f:C/:.*$//}/${FILESNAME} ${LOCALEDIR}/${f:C/^.*://}
|
SYMLINKS+= ../${f:C/:.*$//}/${FILESNAME} \
|
||||||
|
${LOCALEDIR}/${f:C/^.*://}/${FILESNAME}
|
||||||
.endfor
|
.endfor
|
||||||
|
|
||||||
.for f in ${LOCALES}
|
.for f in ${LOCALES}
|
||||||
|
@ -173,7 +173,8 @@ FILES= ${LOCALES:S/$/.out/}
|
|||||||
CLEANFILES= ${FILES}
|
CLEANFILES= ${FILES}
|
||||||
|
|
||||||
.for f in ${SAME}
|
.for f in ${SAME}
|
||||||
SYMLINKS+= ../${f:C/:.*$//}/${FILESNAME} ${LOCALEDIR}/${f:C/^.*://}
|
SYMLINKS+= ../${f:C/:.*$//}/${FILESNAME} \
|
||||||
|
${LOCALEDIR}/${f:C/^.*://}/${FILESNAME}
|
||||||
.endfor
|
.endfor
|
||||||
|
|
||||||
.for f in ${LOCALES}
|
.for f in ${LOCALES}
|
||||||
|
@ -946,7 +946,8 @@ FILES= \${LOCALES:S/\$/.${SRCOUT2}/}
|
|||||||
CLEANFILES= \${FILES}
|
CLEANFILES= \${FILES}
|
||||||
|
|
||||||
.for f in \${SAME}
|
.for f in \${SAME}
|
||||||
SYMLINKS+= ../\${f:C/:.*\$//}/\${FILESNAME} \${LOCALEDIR}/\${f:C/^.*://}
|
SYMLINKS+= ../\${f:C/:.*\$//}/\${FILESNAME} \\
|
||||||
|
\${LOCALEDIR}/\${f:C/^.*://}/\${FILESNAME}
|
||||||
.endfor
|
.endfor
|
||||||
|
|
||||||
.for f in \${LOCALES}
|
.for f in \${LOCALES}
|
||||||
|
Loading…
Reference in New Issue
Block a user