diff options
author | Warner Losh <imp@FreeBSD.org> | 2001-04-25 06:19:58 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2001-04-25 06:19:58 +0000 |
commit | 40afc1048ef96e521e6f3de84c2f3f1360183b0e (patch) | |
tree | 6e497ca31a15312d5fb70e1b4db3c004bdaef11e /sys/conf/Makefile.i386 | |
parent | bd737b20994e4c112cac81cb0dcfcd25c84ffc61 (diff) | |
download | src-40afc1048ef96e521e6f3de84c2f3f1360183b0e.tar.gz src-40afc1048ef96e521e6f3de84c2f3f1360183b0e.zip |
Ignore chflags errors. This makes installing to nfs mounted target
directories work.
Notes
Notes:
svn path=/head/; revision=75933
Diffstat (limited to 'sys/conf/Makefile.i386')
-rw-r--r-- | sys/conf/Makefile.i386 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/conf/Makefile.i386 b/sys/conf/Makefile.i386 index 55b4f5465136..69ca923c692e 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 \ |