summaryrefslogtreecommitdiffstats
path: root/lib/progressbar.py
diff options
context:
space:
mode:
authorMartin Hundebøll <martin@hundeboll.net>2014-10-30 11:43:24 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-11-12 15:25:09 +0000
commit90d9bf1bda282fb5d053a42438a8cfd02475b9cd (patch)
tree2f4329df30ab54c7dc304811706196a2065bb338 /lib/progressbar.py
parenta8272e22b7819e0e8afd8e291d276f5f28fc0007 (diff)
downloadbitbake-90d9bf1bda282fb5d053a42438a8cfd02475b9cd.tar.gz
progressbar: use '/usr/bin/env' in shebangs with python
To support yocto on systems with python3 as default version, scripts should use /usr/bin/env python in the shebang, as this allows the use of a fake env to mimic python2 as default version. This patch simply replaces occurrences of #!/usr/bin/python with #!/usr/bin/env python and was done with this oneliner: git grep -lE '^#!/usr/bin/python' | xargs \ sed -i 's|/usr/bin/python|/usr/bin/env python|' Signed-off-by: Martin Hundebøll <martin@hundeboll.net> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/progressbar.py')
-rw-r--r--lib/progressbar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/progressbar.py b/lib/progressbar.py
index b668647a3..114cdc16b 100644
--- a/lib/progressbar.py
+++ b/lib/progressbar.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# -*- coding: iso-8859-1 -*-
#
# progressbar - Text progressbar library for python.