The branch, master has been updated via 0231575 waf: Make samba "ok" with directories for install being symlinks from a125ea7 vfs: fix acl_blob_get* in vfs_full_audit
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit 0231575709231eadd89761d966c1b8412950de00 Author: Ira Cooper <i...@samba.org> Date: Thu Sep 20 19:38:12 2012 +0000 waf: Make samba "ok" with directories for install being symlinks stat -> lstat conversion. This allows people for whom $PREFIX/var is a symlink to complete make install. Autobuild-User(master): Ira Cooper <i...@samba.org> Autobuild-Date(master): Thu Sep 20 23:26:26 CEST 2012 on sn-devel-104 ----------------------------------------------------------------------- Summary of changes: buildtools/wafadmin/Utils.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Changeset truncated at 500 lines: diff --git a/buildtools/wafadmin/Utils.py b/buildtools/wafadmin/Utils.py index 41dad57..91ded93 100644 --- a/buildtools/wafadmin/Utils.py +++ b/buildtools/wafadmin/Utils.py @@ -15,7 +15,7 @@ Utilities, the stable ones are the following: import stat def h_file(filename): - st = os.stat(filename) + st = os.lstat(filename) if stat.S_ISDIR(st[stat.ST_MODE]): raise IOError('not a file') m = Utils.md5() m.update(str(st.st_mtime)) @@ -419,7 +419,7 @@ def pprint(col, str, label='', sep='\n'): def check_dir(dir): """If a folder doesn't exists, create it.""" try: - os.stat(dir) + os.lstat(dir) except OSError: try: os.makedirs(dir) -- Samba Shared Repository