Skip to content

Commit

Permalink
Use #!/usr/bin/env bash (#18762)
Browse files Browse the repository at this point in the history
* Use #!/usr/bin/env bash

* Update setup-poetry.sh

* Use #!/usr/bin/env bash for shebang

* fix up typo for leading space

* For consistency fix up a few other scripts
  • Loading branch information
emlowe authored Nov 4, 2024
1 parent 2808ee2 commit e07d1eb
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion activated.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash

set -o errexit

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

# PULL IN LICENSES USING NPM - LICENSE CHECKER
npm install -g license-checker
Expand Down
2 changes: 1 addition & 1 deletion build_scripts/build_linux_deb-1-gui.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -o errexit

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

set -o errexit

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

set -o errexit

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

set -o errexit

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

set -o errexit -o nounset

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

set -o errexit -o nounset

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

# PULL IN LICENSES USING NPM - LICENSE CHECKER
npm install -g license-checker
Expand Down
2 changes: 1 addition & 1 deletion build_scripts/clean-runner.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Cleans up files/directories that may be left over from previous runs for a clean slate before starting a new build

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

set -o errexit

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

set -o errexit

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

set -o errexit

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

set -o errexit

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

set -o errexit

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

# pass in the name of the test run as the first argument

Expand Down

0 comments on commit e07d1eb

Please sign in to comment.