Better fix for getting at rdsetroot; from Dale Rahn
authortholo <tholo@openbsd.org>
Sun, 4 May 1997 20:52:48 +0000 (20:52 +0000)
committertholo <tholo@openbsd.org>
Sun, 4 May 1997 20:52:48 +0000 (20:52 +0000)
distrib/i386/floppies/ramdisk/Makefile

index 6ff21e7..92b05cb 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: Makefile,v 1.11 1997/05/04 20:22:14 tholo Exp $
+#      $OpenBSD: Makefile,v 1.12 1997/05/04 20:52:48 tholo Exp $
 
 # Revision is 2.1
 REV=           21
@@ -65,11 +65,7 @@ bsd.gz: bsd.rd
 
 bsd.rd:        ${IMAGE} bsd rdsetroot
        cp bsd bsd.rd
-.if exists(${.CURDIR}/${__objdir})
-       ${.CURDIR}/${__objdir}/rdsetroot bsd.rd < ${IMAGE}
-.else
-       ${.CURDIR}/rdsetroot bsd.rd < ${IMAGE}
-.endif
+       ${.OBJDIR}/rdsetroot bsd.rd < ${IMAGE}
 
 bsd:
        cd ${.CURDIR}/../../../../sys/arch/i386/conf && config RAMDISK