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



   
   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.

ah ha.  sorry about that.

actually, reading

        http://www.opengroup.org/onlinepubs/009695399/utilities/cd.html

makes be think that our shell should also do this.


.mrg.


Home | Main Index | Thread Index | Old Index