[PyCS-devel] Patch for NetBSD
Status: Alpha
Brought to you by:
myelin
|
From: <iy...@at...> - 2004-03-01 04:39:10
|
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 |