Inconsistent shebang usage in bash scripts

Bug #1485557 reported by Jesse Pretorius
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Wishlist
Christian Berendt
Kilo
Fix Released
Wishlist
Jesse Pretorius
Trunk
Fix Released
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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-ansible-deployment (master)

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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-ansible-deployment (kilo)

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)

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote : Fix included in openstack/openstack-ansible 11.2.11

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

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/openstack-ansible 11.2.12

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

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote : Fix included in openstack/openstack-ansible 11.2.14

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.