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: matthew green <mrg%eterna.com.au@localhost>
To: Lloyd Parkes <lloyd%must-have-coffee.gen.nz@localhost>
Cc: misc-bug-people%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost,
    gnats-bugs%NetBSD.org@localhost
Subject: re: misc/41684: build.sh syspkgs only works on NetBSD hosts
Date: Thu, 09 Jul 2009 10:35:37 +1000

    
    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