summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2016-04-18 21:05:19 +0000
committerbdrewery <bdrewery@FreeBSD.org>2016-04-18 21:05:19 +0000
commit020a8d64e6a8c935f5294131d827633d6e1ead83 (patch)
tree048f0bb287ea68ce427c5e3fb628027175f77d7c /share
parentf0171d33b464dee5ac308f1d13ede2ddd9d030a7 (diff)
downloadFreeBSD-src-020a8d64e6a8c935f5294131d827633d6e1ead83.zip
FreeBSD-src-020a8d64e6a8c935f5294131d827633d6e1ead83.tar.gz
Update meta2deps to fix crash when using -X with M2D_EXCLUDES.
Diffstat (limited to 'share')
-rwxr-xr-xshare/mk/meta2deps.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/mk/meta2deps.py b/share/mk/meta2deps.py
index f3a4799..2d1e565 100755
--- a/share/mk/meta2deps.py
+++ b/share/mk/meta2deps.py
@@ -38,7 +38,7 @@ We only pay attention to a subset of the information in the
"""
RCSid:
- $Id: meta2deps.py,v 1.18 2015/04/03 18:23:25 sjg Exp $
+ $Id: meta2deps.py,v 1.19 2016/04/02 20:45:40 sjg Exp $
Copyright (c) 2011-2013, Juniper Networks, Inc.
All rights reserved.
@@ -483,7 +483,7 @@ class MetaFile:
for p in self.excludes:
if p and path.startswith(p):
if self.debug > 2:
- print >> self.debug_out, "exclude:", p, path
+ print("exclude:", p, path, file=self.debug_out)
return
# we don't want to resolve the last component if it is
# a symlink
OpenPOWER on IntegriCloud