summaryrefslogtreecommitdiffstats
path: root/support
diff options
context:
space:
mode:
authorArnout Vandecappelle <arnout@mind.be>2014-06-23 22:11:24 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-06-29 10:44:00 +0200
commitcfb6bf5ee91183291c91e960c9f57e846fdcd231 (patch)
tree9d34018ab365d92be10e7cfadf6103ab546697ea /support
parentb82f66cf404ef74509212de0d035737c75c5e6d6 (diff)
downloadbuildroot-cfb6bf5ee91183291c91e960c9f57e846fdcd231.tar.gz
buildroot-cfb6bf5ee91183291c91e960c9f57e846fdcd231.zip
graph-depends: remove unnecessary redirect of stderr
It hides any error messages reported by make. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Acked-by: Samuel Martin <s.martin49@gmail.com> Tested-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'support')
-rwxr-xr-xsupport/scripts/graph-depends4
1 files changed, 2 insertions, 2 deletions
diff --git a/support/scripts/graph-depends b/support/scripts/graph-depends
index 52c16ceae3..1ecfedac7a 100755
--- a/support/scripts/graph-depends
+++ b/support/scripts/graph-depends
@@ -82,7 +82,7 @@ allpkgs = []
def get_targets():
sys.stderr.write("Getting targets\n")
cmd = ["make", "-s", "--no-print-directory", "show-targets"]
- p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True)
+ p = subprocess.Popen(cmd, stdout=subprocess.PIPE, universal_newlines=True)
output = p.communicate()[0].strip()
if p.returncode != 0:
return None
@@ -98,7 +98,7 @@ def get_depends(pkgs):
cmd = ["make", "-s", "--no-print-directory" ]
for pkg in pkgs:
cmd.append("%s-show-depends" % pkg)
- p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True)
+ p = subprocess.Popen(cmd, stdout=subprocess.PIPE, universal_newlines=True)
output = p.communicate()[0]
if p.returncode != 0:
sys.stderr.write("Error getting dependencies %s\n" % pkgs)
OpenPOWER on IntegriCloud