svn commit: samba r10443 - in branches/SAMBA_4_0/source/build/scons: .

tpot at samba.org tpot at samba.org
Fri Sep 23 06:39:35 GMT 2005


Author: tpot
Date: 2005-09-23 06:39:34 +0000 (Fri, 23 Sep 2005)
New Revision: 10443

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10443

Log:
Fix emitter for NdrMarshaller tool.

Modified:
   branches/SAMBA_4_0/source/build/scons/pidl.py


Changeset:
Modified: branches/SAMBA_4_0/source/build/scons/pidl.py
===================================================================
--- branches/SAMBA_4_0/source/build/scons/pidl.py	2005-09-23 02:28:30 UTC (rev 10442)
+++ branches/SAMBA_4_0/source/build/scons/pidl.py	2005-09-23 06:39:34 UTC (rev 10443)
@@ -11,7 +11,7 @@
 idl_scanner = SCons.Scanner.ClassicCPP("PIDLScan", '.idl', 'CPPPATH', r'depends\(([^,]+),+\)', SCons.Node.FS.default_fs)
 
 def idl_emitter(target, source, env):
-	base, ext = SCons.Util.splitext(str(source[0]))
+	base, ext = SCons.Util.splitext(str(source[0]).split('/')[-1])
 	result = ['gen_ndr/ndr_%s.c' % base, 'gen_ndr/ndr_%s.h' % base]
 	return result, source
 



More information about the samba-cvs mailing list