Inconsistent shebang usage in bash scripts

Bug #1485557 reported by Jesse Pretorius on 2015-08-17
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-ansible
Wishlist
Christian Berendt
Kilo
Wishlist
Jesse Pretorius
Trunk
Wishlist
Christian Berendt

Bug Description

Currently the shebang in each bash script is inconsistent.

In order to be more consistent, and also account for different environments and platforms, the use of
#!/usr/bin/env should be implemented as the shebang for all bash scripts in the environment.

tags: added: low-hanging-fruit

Reviewed: https://review.openstack.org/211885
Committed: https://git.openstack.org/cgit/stackforge/os-ansible-deployment/commit/?id=d1f410d08a5369c1a25bbd15da318b247003514a
Submitter: Jenkins
Branch: master

commit d1f410d08a5369c1a25bbd15da318b247003514a
Author: Christian Berendt <email address hidden>
Date: Wed Aug 12 09:54:58 2015 +0200

    Implement /usr/bin/env as the shebang in all bash scripts

    In order to be more consistent, and also account for different
    environments and platforms, this patch implements the use of
    #!/usr/bin/env as the shebang for all bash scripts in the
    environment.

    Closes-Bug: #1485557
    Change-Id: I93e6a47fd6be816620682eddb2880e38f11bf675

Changed in openstack-ansible:
status: In Progress → Fix Committed
tags: removed: low-hanging-fruit

Reviewed: https://review.openstack.org/215906
Committed: https://git.openstack.org/cgit/stackforge/os-ansible-deployment/commit/?id=6bf85c0ae187faadef762561f6abcf5e39b3f0da
Submitter: Jenkins
Branch: kilo

commit 6bf85c0ae187faadef762561f6abcf5e39b3f0da
Author: Christian Berendt <email address hidden>
Date: Wed Aug 12 09:54:58 2015 +0200

    Implement /usr/bin/env as the shebang in all bash scripts

    In order to be more consistent, and also account for different
    environments and platforms, this patch implements the use of
    environment.

    Closes-Bug: #1485557
    Change-Id: I93e6a47fd6be816620682eddb2880e38f11bf675
    (cherry picked from commit d1f410d08a5369c1a25bbd15da318b247003514a)

This issue was fixed in the openstack/openstack-ansible 11.2.11 release.

This issue was fixed in the openstack/openstack-ansible 11.2.12 release.

This issue was fixed in the openstack/openstack-ansible 11.2.14 release.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers