diff options
author | gshapiro <gshapiro@FreeBSD.org> | 2003-05-06 03:38:24 +0000 |
---|---|---|
committer | gshapiro <gshapiro@FreeBSD.org> | 2003-05-06 03:38:24 +0000 |
commit | ae220ed3abbcf8150d3ba340298882867bf5d347 (patch) | |
tree | 9eea09f215360a2e3768fbd36d0982ce43a358fa /share/sendmail | |
parent | d18bfec38d8e9a05b5d4fd79b0a10983e73e97c5 (diff) | |
download | FreeBSD-src-ae220ed3abbcf8150d3ba340298882867bf5d347.zip FreeBSD-src-ae220ed3abbcf8150d3ba340298882867bf5d347.tar.gz |
Prevent a 'make SHARED=symlinks install' followed by 'make install' from
failing by removing the symlink before trying to install the actual files.
Noticed by: bde
MFC after: 5 days
Diffstat (limited to 'share/sendmail')
-rw-r--r-- | share/sendmail/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/share/sendmail/Makefile b/share/sendmail/Makefile index 6b28991..62d1585 100644 --- a/share/sendmail/Makefile +++ b/share/sendmail/Makefile @@ -22,6 +22,7 @@ all clean cleandir depend lint tags: beforeinstall: ${SHARED} copies:: + if [ -L ${DDIR}/${CFDIR} ]; then rm -f ${DDIR}/${CFDIR}; fi .for dir in ${CFDIRS} ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 755 -d ${DDIR}/${dir} .endfor |