Re: [PyCS-devel] Patch for NetBSD
Status: Alpha
Brought to you by:
myelin
|
From: Phillip P. <pp...@my...> - 2004-03-01 22:50:02
|
Hi, Thanks for that. I've put this into CVS now. Cheers, Phil :) On Mon, Mar 01, 2004 at 01:34:58PM +0900, IYODA Atsushi wrote: > Hello. > I'm administrator of http://pycs.atikoro.net/. > patches is needed in install to NetBSD is sent. > If "-c" is not attached, a file will move. > > > --- Makefile 8 Feb 2004 11:14:27 -0000 1.42 > +++ Makefile 1 Mar 2004 03:55:44 -0000 > @@ -99,7 +99,7 @@ > DEBFN = pycs_$(DEBVER)_all.deb > LATESTFN = pycs-latest-src > > -INSTALL = /usr/bin/install > +INSTALL = /usr/bin/install -c > > INSTALL_USER = $(INSTALL) -g $(USER) -o $(USER) > INSTALL_ROOT = $(INSTALL) -g $(ROOT) -o $(ROOT) > > > It is the patch which solves the problem of os.mkdir. > I am using NetBSD 1.6.2 > see http://mail-index.netbsd.org/netbsd-bugs/2002/10/22/0006.html > > --- xmlStorageSystem.py 10 Jan 2004 10:14:04 -0000 1.31 > +++ xmlStorageSystem.py 1 Mar 2004 03:55:32 -0000 > @@ -161,12 +161,13 @@ > if not m: > break > dirnm, leaf = m.groups() > - path += "%s/" % (dirnm,) > + path += "%s" % (dirnm,) > #print " [ path",path," leaf",leaf,"]" > try: > os.mkdir( path ) > except: > pass > + path += "/" > > # Actually save the file > if type(file)==type(''): > > > -- > IYODA Atsushi > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > PyCS-devel mailing list > PyC...@li... > https://lists.sourceforge.net/lists/listinfo/pycs-devel |