Skip to content

Commit

Permalink
Merge pull request #173 from h0nIg/patch-1
Browse files Browse the repository at this point in the history
os agnostic bash path
  • Loading branch information
rkoster authored Dec 19, 2024
2 parents d235823 + bc43d91 commit 8e8335f
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e -o pipefail

export PATH=$(readlink -nf /var/vcap/packages/jq):/usr/local/bin:/var/vcap/packages/awscli/bin/:${PATH}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e -o pipefail

export PATH=$(readlink -nf /var/vcap/packages/jq):/usr/local/bin:/var/vcap/packages/awscli/bin/:${PATH}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash
#!/usr/bin/env bash

echo "VM was successfully launched with a heavy stemcell!"
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -e

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

echo "Querying for raw ephemeral disks..."
ls -la /dev/disk/by-partlabel/raw-ephemeral-*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e -o pipefail

export PATH=$(readlink -nf /var/vcap/packages/jq):/usr/local/bin:/var/vcap/packages/awscli/bin/:${PATH}
Expand Down
2 changes: 1 addition & 1 deletion jobs/aws_cpi/templates/cpi.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -e

Expand Down
2 changes: 1 addition & 1 deletion jobs/aws_cpi/templates/cpi_ctl.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -e

Expand Down
2 changes: 1 addition & 1 deletion src/bosh_aws_cpi/bin/stemcell-copy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# This script runs as root through sudo without the need for a password,
# so it needs to make sure it can't be abused.
Expand Down
2 changes: 1 addition & 1 deletion src/bosh_aws_cpi/bin/test-integration
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -e

Expand Down
2 changes: 1 addition & 1 deletion src/bosh_aws_cpi/vendor_gems
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -e

Expand Down

0 comments on commit 8e8335f

Please sign in to comment.