Skip to content

Commit

Permalink
scripts: change shebang
Browse files Browse the repository at this point in the history
They say use /usr/bin/env bash instead of /bin/bash because some OSs
don't have bash installed or don't have it installed in /bin/bash.
  • Loading branch information
julianoes committed Jul 24, 2018
1 parent 0797c1b commit 3b88963
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion backend/tools/package_backend_framework.bash
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 backend/tools/push_backend_framework_to_s3.bash
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 create_packages.sh
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 fix_style.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# This script runs clang-format over all files ending in .h, .c, .cpp listed
# by git in the given directory.
Expand Down
2 changes: 1 addition & 1 deletion generate_docs.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Run with argument `--skip-checks` to skip checks for clean build and removing install dir.

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

# This script spawns the Gazebo PX4 software in the loop (SITL) simulation.
# Options:
Expand Down
2 changes: 1 addition & 1 deletion stop_px4_sitl.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# This script shuts the Gazebo PX4 software in the loop (SITL) simulation down again.

Expand Down
2 changes: 1 addition & 1 deletion travis-docker-build.sh
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 3b88963

Please sign in to comment.