commit:     62a3b1acfd7e8d488cb3fa0761e7f810fb208167
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 30 07:42:13 2017 +0000
Commit:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Sat May 27 14:30:45 2017 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=62a3b1ac

repoman: Make all shebangs prefix friendly

* Simplifies the repoman ebuild, as the
  prefixifying can be made redundant.
* See also:
  https://blogs.gentoo.org/mgorny/2016/02/08/a-quick-note-on-portable-shebangs/

 repoman/bin/repoman                   | 4 ++--
 repoman/pym/repoman/main.py           | 4 ++--
 repoman/pym/repoman/tests/runTests.py | 4 ++--
 repoman/runtests                      | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/repoman/bin/repoman b/repoman/bin/repoman
index 7082a968f..7084ff918 100755
--- a/repoman/bin/repoman
+++ b/repoman/bin/repoman
@@ -1,5 +1,5 @@
-#!/usr/bin/python -bO
-# Copyright 1999-2014 Gentoo Foundation
+#!/usr/bin/env python
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 """Ebuild and tree health checks and maintenance utilities.

diff --git a/repoman/pym/repoman/main.py b/repoman/pym/repoman/main.py
index 825a82e61..ccc735c7d 100755
--- a/repoman/pym/repoman/main.py
+++ b/repoman/pym/repoman/main.py
@@ -1,6 +1,6 @@
-#!/usr/bin/python -bO
+#!/usr/bin/env python
 # -*- coding:utf-8 -*-
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 from __future__ import print_function, unicode_literals

diff --git a/repoman/pym/repoman/tests/runTests.py 
b/repoman/pym/repoman/tests/runTests.py
index 83e3d35f5..759abdd82 100644
--- a/repoman/pym/repoman/tests/runTests.py
+++ b/repoman/pym/repoman/tests/runTests.py
@@ -1,6 +1,6 @@
-#!/usr/bin/python -bWd
+#!/usr/bin/env python
 # runTests.py -- Portage Unit Test Functionality
-# Copyright 2006-2014 Gentoo Foundation
+# Copyright 2006-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 import os, sys

diff --git a/repoman/runtests b/repoman/runtests
index 53eb64510..c1825301a 100755
--- a/repoman/runtests
+++ b/repoman/runtests
@@ -1,5 +1,5 @@
-#!/usr/bin/python
-# Copyright 2010-2015 Gentoo Foundation
+#!/usr/bin/env python
+# Copyright 2010-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 #
 # Note: We don't want to import portage modules directly because we do things

Reply via email to