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 majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to