Use python2 shebang

Some distributions have switched to python3 as default and our code
breaks because it's python2 specific. Follow the PEP 394
recommendation.
master
Daniel Narvaez 11 years ago committed by Manuel Quiñones
parent 0408c19365
commit 6fdf5f208a

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
# Copyright (C) 2006-2008, Red Hat, Inc.
#

@ -15,6 +15,7 @@ GNOME_COMPILE_WARNINGS(maximum)
AC_PATH_PROG([GLIB_GENMARSHAL], [glib-genmarshal])
PYTHON=python2
AM_PATH_PYTHON
AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)])

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
from sugar3.activity import bundlebuilder

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
# Copyright (C) 2006, Red Hat, Inc.
# Copyright (C) 2007, One Laptop Per Child

Loading…
Cancel
Save