diff -r 5785cca4cdb9 -r 242839c6d27d demos/SConscript --- a/demos/SConscript Wed Apr 09 17:55:29 2008 +0200 +++ b/demos/SConscript Thu Apr 10 23:20:36 2008 +0200 @@ -12,6 +12,7 @@ for file in files: l.append( env.Copy('#build/demos/'+file, file) ) -l.append( env.Copy('#build/demos/'+str(pymodule[0]).split('/')[-1], str(pymodule[0])) ) +import os +l.append( env.Copy('#build/demos/'+str(pymodule[0]).split(os.sep)[-1], str(pymodule[0])) ) env.Alias('python-demos', l)