Date: Fri, 27 Aug 1999 10:31:49 +0200 From: Sheldon Hearn <sheldonh@uunet.co.za> To: hackers@freebsd.org Subject: REQ: Help with apparently impossible error in Makefile.inc1 Message-ID: <55197.935742709@axl.noc.iafrica.com>
next in thread | raw e-mail | index | archive | help
Hi folks, While testing out a change I'm proposing for src/Makefile.inc1 (see my PR 13398, which proposes the addition of a WHICH_GAMES knob), I've hit my head against something I can't figure out. Basically, I have the following in Makefile.inc1: | .if !defined(NOGAMES) && exists(${.CURDIR}/games) | cd ${DESTDIR}/usr/games | .if !empty(WHICH_GAMES:Mcaesar) | cp -p caesar ${DESTDIR}/usr/bin | .endif | .if !empty(WHICH_GAMES:Mfortune) | cp -p strfile ${DESTDIR}/usr/bin | .endif | .endif I get the following error during buildworld: | cd /usr/obj/usr/src/tmp/usr/games | cp -p caesar /usr/obj/usr/src/tmp/usr/bin | cp: caesar: No such file or directory | *** Error code 1 However, the file caesar definitely exists in the directory /usr/obj/usr/src/tmp/usr/games and when I go into that directory and issue the offending command manually, it succeeds! Help. :-) Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55197.935742709>