Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] support: graph-depends requires Python 2
@ 2014-06-19 19:30 Vivien Didelot
  2014-06-20 20:33 ` Arnout Vandecappelle
  0 siblings, 1 reply; 2+ messages in thread
From: Vivien Didelot @ 2014-06-19 19:30 UTC (permalink / raw)
  To: buildroot

Python 3 becomes the default version on some distributions (such as
Archlinux), while they all (Debian, Ubuntu, Arch, Fedora, etc.) define a
python2 symlink for consistency.

Let's specify it in the graph-depends script to make it clear that it
requires the version 2 of Python to work.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
---
 support/scripts/graph-depends | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/support/scripts/graph-depends b/support/scripts/graph-depends
index e2a5e1e..e323e3f 100755
--- a/support/scripts/graph-depends
+++ b/support/scripts/graph-depends
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
 
 # Usage (the graphviz package must be installed in your distribution)
 #  ./support/scripts/graph-depends [-p package-name] > test.dot
-- 
2.0.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-20 20:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-19 19:30 [Buildroot] [PATCH] support: graph-depends requires Python 2 Vivien Didelot
2014-06-20 20:33 ` Arnout Vandecappelle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox