From 80fce353e740c793619005ac102ab07fb5e7d280 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sat, 2 Mar 2013 10:58:50 +1100 Subject: build: Change bin/default/python -> bin/python symlink to bin/default/python_modules This avoids a collision with the new top level python directory. Andrew Bartlett --- buildtools/wafsamba/wafsamba.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'buildtools/wafsamba/wafsamba.py') diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py index dcbb04704a..f7156ecf7f 100644 --- a/buildtools/wafsamba/wafsamba.py +++ b/buildtools/wafsamba/wafsamba.py @@ -64,10 +64,10 @@ def SAMBA_BUILD_ENV(conf): # this allows all of the bin/shared and bin/python targets # to be expressed in terms of build directory paths mkdir_p(os.path.join(conf.blddir, 'default')) - for p in ['python','shared', 'modules']: - link_target = os.path.join(conf.blddir, 'default/' + p) + for (source, target) in [('shared', 'shared'), ('modules', 'modules'), ('python', 'python_modules')]: + link_target = os.path.join(conf.blddir, 'default/' + target) if not os.path.lexists(link_target): - os.symlink('../' + p, link_target) + os.symlink('../' + source, link_target) # get perl to put the blib files in the build directory blib_bld = os.path.join(conf.blddir, 'default/pidl/blib') -- cgit