NetBSD-Bugs archive

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

Re: misc/41684: build.sh syspkgs only works on NetBSD hosts



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

From: Lloyd Parkes <lloyd%must-have-coffee.gen.nz@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: misc-bug-people%netbsd.org@localhost,
 netbsd-bugs%netbsd.org@localhost
Subject: Re: misc/41684: build.sh syspkgs only works on NetBSD hosts
Date: Thu, 9 Jul 2009 11:13:47 +1200

 On 9/07/2009, at 11:10 AM, matthew green wrote:
 
 >    ===================================================================
 >    RCS file: /vol/src/rsync-src/src/distrib/sets/makeplist,v
 >    retrieving revision 1.19
 >    diff -r1.19 makeplist
 >    126c126
 >    < cd -
 >    ---
 >> cd - > /dev/null
 >
 >
 > this is not right.
 >
 > you need to make it chdir back to the previous dir.
 
 But it does chdir back to the previous dir. The problem is that bash  
 prints the name of the previous dir to stdout when you do this, and  
 our stdout is being used to construct the PLIST, so we end up with  
 rubbish at the top of the PLIST.
 
 Cheers,
 Lloyd
 


Home | Main Index | Thread Index | Old Index