diff options
author | Timothy Redaelli <tredaelli@redhat.com> | 2017-06-20 19:53:55 +0200 |
---|---|---|
committer | Joe Stringer <joe@ovn.org> | 2017-06-21 13:28:48 -0700 |
commit | b49a959bac4731a6203cc6f846967d96e51180ab (patch) | |
tree | 213ce34cdd85c474b92d2cf9a05ed9bf23fd9a57 /vtep | |
parent | 56c08ab4fae5a40e0b5f986b8bc1ff97b2dde3f3 (diff) | |
download | openvswitch-b49a959bac4731a6203cc6f846967d96e51180ab.tar.gz |
Use @PYTHON@ directly instead of "#! /usr/bin/env"
In some installed python scripts /usr/bin/env is unnecessarily used in
shebang, replace it directly with @PYTHON@.
This will also avoid implicit dependency to /usr/bin/env in RPM distributions
and it will correctly add implicit dependency to /usr/bin/python instead.
Signed-off-by: Timothy Redaelli <tredaelli@redhat.com>
Signed-off-by: Joe Stringer <joe@ovn.org>
Diffstat (limited to 'vtep')
-rw-r--r-- | vtep/automake.mk | 2 | ||||
-rwxr-xr-x | vtep/ovs-vtep.in (renamed from vtep/ovs-vtep) | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vtep/automake.mk b/vtep/automake.mk index 6bcb03188..bd419cd33 100644 --- a/vtep/automake.mk +++ b/vtep/automake.mk @@ -40,7 +40,7 @@ vtep_vtep_ctl_LDADD = vtep/libvtep.la lib/libopenvswitch.la scripts_SCRIPTS += \ vtep/ovs-vtep -EXTRA_DIST += vtep/ovs-vtep +EXTRA_DIST += vtep/ovs-vtep.in FLAKE8_PYFILES += vtep/ovs-vtep diff --git a/vtep/ovs-vtep b/vtep/ovs-vtep.in index 5153b3b8e..98748e448 100755 --- a/vtep/ovs-vtep +++ b/vtep/ovs-vtep.in @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! @PYTHON@ # Copyright (C) 2013 Nicira, Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); |