glusterfind: revert shebangs to #!/usr/bin/python3
Using #!/usr/bin/env python is illegal in Fedora and RHEL packaging. (Debian and SUSE packaging will complain about it too but don't enforce it like Fedora packaging does. Yet.) We went through a giant exercise fixing these once already. The python needs to be python2/python3 clean. There is a build scriptlet that converts the shebangs back to /usr/bin/python on rhel7. Change-Id: If208a2557f7e5d727cda98c27905e249cf485d5b fixes: bz#1683716 Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
This commit is contained in:
parent
4cb1d6d94a
commit
06a65016f1
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/python3
|
||||||
|
|
||||||
# Copyright (c) 2015 Red Hat, Inc. <http://www.redhat.com/>
|
# Copyright (c) 2015 Red Hat, Inc. <http://www.redhat.com/>
|
||||||
# This file is part of GlusterFS.
|
# This file is part of GlusterFS.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/python3
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# Copyright (c) 2015 Red Hat, Inc. <http://www.redhat.com/>
|
# Copyright (c) 2015 Red Hat, Inc. <http://www.redhat.com/>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/python3
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# Copyright (c) 2015 Red Hat, Inc. <http://www.redhat.com/>
|
# Copyright (c) 2015 Red Hat, Inc. <http://www.redhat.com/>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/python3
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# Copyright (c) 2015 Red Hat, Inc. <http://www.redhat.com/>
|
# Copyright (c) 2015 Red Hat, Inc. <http://www.redhat.com/>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/python3
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# Copyright (c) 2015 Red Hat, Inc. <http://www.redhat.com/>
|
# Copyright (c) 2015 Red Hat, Inc. <http://www.redhat.com/>
|
||||||
|
Loading…
Reference in New Issue
Block a user