aboutsummaryrefslogtreecommitdiff
path: root/mk/meta2deps.py
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2017-05-10 22:40:27 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2017-05-10 22:40:27 +0000
commit0b13d2e56159d9656b45244f5a2e31272b9187dd (patch)
tree3b72ad5bd91938d7c33ae63b7a1299555606ea2c /mk/meta2deps.py
parentf62a02334b3d7ac500f6ed20aac449ecc477a673 (diff)
Import bmake-20170510
Notes
Notes: svn path=/vendor/NetBSD/bmake/dist/; revision=318162
Diffstat (limited to 'mk/meta2deps.py')
-rwxr-xr-xmk/meta2deps.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/meta2deps.py b/mk/meta2deps.py
index 6eee6a51e5b0..22eef5fa749a 100755
--- a/mk/meta2deps.py
+++ b/mk/meta2deps.py
@@ -37,7 +37,7 @@ We only pay attention to a subset of the information in the
"""
RCSid:
- $Id: meta2deps.py,v 1.25 2017/04/03 21:04:09 sjg Exp $
+ $Id: meta2deps.py,v 1.26 2017/05/09 04:04:16 sjg Exp $
Copyright (c) 2011-2013, Juniper Networks, Inc.
All rights reserved.
@@ -142,7 +142,7 @@ def sort_unique(list, cmp=None, key=None, reverse=False):
for e in list:
if e == le:
continue
- le = e
+ le = e
nl.append(e)
return nl
@@ -534,7 +534,7 @@ class MetaFile:
# to the src dir, we may need to add dependencies for each
rdir = dir
dir = abspath(dir, cwd, self.last_dir, self.debug, self.debug_out)
- rdir = os.path.realpath(dir)
+ rdir = os.path.realpath(dir)
if rdir == dir:
rdir = None
# now put path back together