diff options
author | Martin Schwenke <martin@meltin.net> | 2018-09-11 14:35:38 +1000 |
---|---|---|
committer | Alexander Bokovoy <ab@samba.org> | 2018-09-11 10:00:05 +0200 |
commit | 587bbd3eb17d41c4c78a068d16c7f4182f196f47 (patch) | |
tree | 31eb34f5fc7f8a69e32c3958daa87321bc32680f /buildtools | |
parent | b4fa3f982a38bce10d471c5b309f4f0f631c300c (diff) | |
download | samba-587bbd3eb17d41c4c78a068d16c7f4182f196f47.tar.gz |
wafsamba: Drop unused, broken install_dir()
This is broken because it doesn't respect $DESTDIR.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Autobuild-User(master): Alexander Bokovoy <ab@samba.org>
Autobuild-Date(master): Tue Sep 11 10:00:05 CEST 2018 on sn-devel-144
Diffstat (limited to 'buildtools')
-rw-r--r-- | buildtools/wafsamba/samba_waf18.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/buildtools/wafsamba/samba_waf18.py b/buildtools/wafsamba/samba_waf18.py index 8a4558d46de..26441309d4f 100644 --- a/buildtools/wafsamba/samba_waf18.py +++ b/buildtools/wafsamba/samba_waf18.py @@ -133,23 +133,6 @@ def undefine(self, key, from_env=True, comment=None): if from_env: self.env[key] = () -def install_dir(self, path): - if not path: - return [] - - destpath = Utils.subst_vars(path, self.env) - - if self.is_install > 0: - Logs.info('* creating %s', destpath) - Utils.check_dir(destpath) - elif self.is_install < 0: - Logs.info('* removing %s', destpath) - try: - os.remove(destpath) - except OSError: - pass -Build.BuildContext.install_dir = install_dir - class ConfigurationContext(Configure.ConfigurationContext): def init_dirs(self): self.setenv('default') |