When creating /etc/objformat, respect DESTDIR.

Pointed out by: Zach Heilig -- zach@gaffaneys.com
This commit is contained in:
John Birrell 1998-09-03 21:16:15 +00:00
parent d41c96ee24
commit 1086db569a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=38784

View File

@ -1,5 +1,5 @@
#
# $Id: Makefile.upgrade,v 1.1 1998/08/31 01:08:08 jb Exp $
# $Id: Makefile.upgrade,v 1.2 1998/08/31 20:22:07 jb Exp $
#
# This makefile contains rules for preforming upgrades that are outside
# the scope of the normal build world process.
@ -189,7 +189,7 @@ ${MAKEOBJDIRPREFIX}/do_set_objformat :
@echo "--------------------------------------------------------------"
@echo " Setting the default object format to elf"
@echo "--------------------------------------------------------------"
@echo "OBJFORMAT=elf" > /etc/objformat
@echo "OBJFORMAT=elf" > ${DESTDIR}/etc/objformat
@touch ${MAKEOBJDIRPREFIX}/do_set_objformat
#