Use ${INSTALL} so installworld works for non-root users.
authorPeter Avalos <pavalos@theshell.com>
Sun, 30 Nov 2008 16:56:24 +0000 (11:56 -0500)
committerPeter Avalos <pavalos@theshell.com>
Sun, 30 Nov 2008 16:56:24 +0000 (11:56 -0500)
Makefile.inc1

index 1e448f9..522ff76 100644 (file)
@@ -439,7 +439,7 @@ installcheck:
 #
 distributeworld installworld: installcheck
        cd ${.CURDIR}; ${IMAKE} re${.TARGET:S/world$//}
-       install -o root -g wheel -m 644 ${.CURDIR}/Makefile_upgrade.inc ${DESTDIR}/etc/upgrade/
+       ${INSTALL} -o root -g wheel -m 644 ${.CURDIR}/Makefile_upgrade.inc ${DESTDIR}/etc/upgrade/
 
 #
 # reinstall