pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/35487 (pkgsrc-2006Q4: mkdir used instead of ${MKDIR} in toolchain wrapper script)



The following reply was made to PR pkg/35487; it has been noted by GNATS.

From: Matthew Mondor <mm_lists%pulsar-zone.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: rillig%NetBSD.org@localhost, pkg-manager%NetBSD.org@localhost,
        pkgsrc-bugs%NetBSD.org@localhost, gnats-admin%NetBSD.org@localhost
Subject: Re: pkg/35487 (pkgsrc-2006Q4: mkdir used instead of ${MKDIR} in
 toolchain wrapper script)
Date: Sun, 25 Feb 2007 17:15:19 -0500

 On Thu, 22 Feb 2007 23:44:17 +0000 (UTC)
 rillig%netbsd.org@localhost wrote:
 
 > Can you please insert the following lines before the mkdir line?
 > 
 >      echo "$$PATH"; type mkdir
 >      exit 1
 > 
 > To my knowledge, at this point, the tool wrapper directory should be very
 > early in the PATH, so I expect the wrapped mkdir to be called.
 
 Results:
 
 echo "$PATH"; type mkdir
 
/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/usr/games:/usr/pkg/libexec/xscreensaver:/usr/local/spidermonkey/bin:/usr/pkg/java/sun-1.4/bin
 mkdir is /bin/mkdir
 exit 1
 make: exec(exit) failed (No such file or directory)
 
 I guess this could have to do with /etc/profile or ~/.shrc.  However,
 using ${MKDIR} like at every other instance in the script solves that
 problem.
 
 Thanks
 -- 
 Matt
 



Home | Main Index | Thread Index | Old Index