diff options
author | imp <imp@FreeBSD.org> | 2001-04-25 06:19:58 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2001-04-25 06:19:58 +0000 |
commit | 3a77c500a93ed027c8d6959da8f6ecc3c7752441 (patch) | |
tree | 3ba32a74a31e6edd62e07060abd8f51a55f16653 /sys/conf/Makefile.pc98 | |
parent | daedbc6cd1bb627cca3c00efaaf196c61aad3f10 (diff) | |
download | FreeBSD-src-3a77c500a93ed027c8d6959da8f6ecc3c7752441.zip FreeBSD-src-3a77c500a93ed027c8d6959da8f6ecc3c7752441.tar.gz |
Ignore chflags errors. This makes installing to nfs mounted target
directories work.
Diffstat (limited to 'sys/conf/Makefile.pc98')
-rw-r--r-- | sys/conf/Makefile.pc98 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/conf/Makefile.pc98 b/sys/conf/Makefile.pc98 index c7bae1d..d132d3e 100644 --- a/sys/conf/Makefile.pc98 +++ b/sys/conf/Makefile.pc98 @@ -261,14 +261,14 @@ kernel-install kernel-install.debug: mv ${DESTDIR}${KODIR} ${DESTDIR}${KODIR}.old .endif mkdir -p ${DESTDIR}${KODIR} - @if [ -f ${DESTDIR}${KODIR}/${KERNEL_KO} ] ; then \ + @-if [ -f ${DESTDIR}${KODIR}/${KERNEL_KO} ] ; then \ chflags noschg ${DESTDIR}${KODIR}/${KERNEL_KO} ; \ fi install -c -m 555 -o root -g wheel -fschg \ ${KERNEL_KO}${.TARGET:S/kernel-install//} ${DESTDIR}${KODIR} kernel-reinstall kernel-reinstall.debug: - @if [ -f ${DESTDIR}${KODIR}/${KERNEL_KO} ] ; then \ + @-if [ -f ${DESTDIR}${KODIR}/${KERNEL_KO} ] ; then \ chflags noschg ${DESTDIR}${KODIR}/${KERNEL_KO} ; \ fi install -c -m 555 -o root -g wheel -fschg \ |