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 | |
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.
-rw-r--r-- | sys/conf/Makefile.alpha | 4 | ||||
-rw-r--r-- | sys/conf/Makefile.i386 | 4 | ||||
-rw-r--r-- | sys/conf/Makefile.ia64 | 4 | ||||
-rw-r--r-- | sys/conf/Makefile.pc98 | 4 | ||||
-rw-r--r-- | sys/conf/Makefile.powerpc | 4 |
5 files changed, 10 insertions, 10 deletions
diff --git a/sys/conf/Makefile.alpha b/sys/conf/Makefile.alpha index f4e9bcc..ddeae04 100644 --- a/sys/conf/Makefile.alpha +++ b/sys/conf/Makefile.alpha @@ -298,14 +298,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 \ diff --git a/sys/conf/Makefile.i386 b/sys/conf/Makefile.i386 index 55b4f54..69ca923 100644 --- a/sys/conf/Makefile.i386 +++ b/sys/conf/Makefile.i386 @@ -258,14 +258,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 \ diff --git a/sys/conf/Makefile.ia64 b/sys/conf/Makefile.ia64 index 4b9010f..bb0151b 100644 --- a/sys/conf/Makefile.ia64 +++ b/sys/conf/Makefile.ia64 @@ -262,14 +262,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 \ 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 \ diff --git a/sys/conf/Makefile.powerpc b/sys/conf/Makefile.powerpc index 55b4f54..69ca923 100644 --- a/sys/conf/Makefile.powerpc +++ b/sys/conf/Makefile.powerpc @@ -258,14 +258,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 \ |