Subject: port-i386/1154: "COPY ${DESTDIR}/usr/mdec/* usr/mdec" failed
To: None <gnats-admin@sun-lamp.pc.cs.cmu.edu>
From: Masanobu Saitoh <msaitoh@spa.is.uec.ac.jp>
List: netbsd-bugs
Date: 06/24/1995 06:05:06
>Number:         1154
>Category:       port-i386
>Synopsis:       "COPY ${DESTDIR}/usr/mdec/* usr/mdec" failed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 24 06:05:03 1995
>Originator:     Saitoh Msasanobu
>Organization:
>Release:        Jun 23 1995
>Environment:
System: NetBSD mincore.spa.is.uec.ac.jp 1.0A NetBSD 1.0A (ISYS) #58: Sat Jun 24 09:55:14 JST 1995 msaitoh@mincore.spa.is.uec.ac.jp:/var/sources/current/src/sys/arch/i386/compile/ISYS i386

>Description:
	On making distribution floppy, runlist.sh fails.

	This is caused by /usr/src/distrib/i386/floppies/inst-common/list:

		COPY    ${DESTDIR}/usr/mdec/*   usr/mdec

	and /usr/src/distrib/i386/floppies/list2sh.awk:

		$1 == "COPY" {
		        printf("echo '%s'\n", $0);
		        printf("rm -f ${TARGDIR}/%s\n", $3);	<======
		        printf("cp %s ${TARGDIR}/%s\n", $2, $3);
		        next;
		}

	usr/mdec is directory. So "rm -f usr/mdec" fails.

>How-To-Repeat:
	cd /usr/src/distrib/i386/floppies
	make

>Fix:
	
>Audit-Trail:
>Unformatted: