aboutsummaryrefslogtreecommitdiff
path: root/scripts/build-all.py
diff options
context:
space:
mode:
authorDavid Brown <davidb@codeaurora.org>2015-04-23 14:29:13 -0700
committerDavid Brown <davidb@codeaurora.org>2015-07-18 21:22:12 -0700
commit8fcde73eaabdda63f364b9d9f29a95435a4a4ee3 (patch)
tree58bad27351e62a09a418052e7f325956d4cc11c6 /scripts/build-all.py
parent86fdf692ba8438c8e73caad72a19216c491ea44f (diff)
scripts: Call out python2 explicitly
Many systems these days have both python2 and python3 installed. The unversioned executable `python` may point to either version. Per https://www.python.org/dev/peps/pep-0394/ , scripts that need Python 2 should explicitly call this out in the shebang line. These build scripts are both specific to python 2, so call this out in the shebang line. Change-Id: I11f70c341e484254dc1679db65c2ed5ac61e510f Signed-off-by: David Brown <davidb@codeaurora.org>
Diffstat (limited to 'scripts/build-all.py')
-rwxr-xr-xscripts/build-all.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build-all.py b/scripts/build-all.py
index fb42c869912..b8b5197762c 100755
--- a/scripts/build-all.py
+++ b/scripts/build-all.py
@@ -1,6 +1,6 @@
-#! /usr/bin/env python
+#! /usr/bin/env python2
-# Copyright (c) 2009-2014, The Linux Foundation. All rights reserved.
+# Copyright (c) 2009-2015, The Linux Foundation. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met: