Skip to content

Commit

Permalink
refactor(bash): shebang
Browse files Browse the repository at this point in the history
  • Loading branch information
tanducmai committed Aug 9, 2023
1 parent 186f058 commit 5730a61
Show file tree
Hide file tree
Showing 16 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion bin/add_submodule
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/usr/bin/env bash

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

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

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

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

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

# ======================================================================================
#
Expand Down
4 changes: 2 additions & 2 deletions install/bootstrap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/usr/bin/env bash

# ======================================================================================
#
Expand Down Expand Up @@ -399,7 +399,7 @@ go install mvdan.cc/sh/v3/cmd/shfmt@latest
log_task "Installing bash_command_timer ..."
wget -O /tmp/bash_command_timer.sh \
https://raw.githubusercontent.com/jichu4n/bash-command-timer/master/bash_command_timer.sh
sudo mv -v /tmp/bash_command_timer.sh /usr/bin/bash_command_timer.sh
sudo mv -v /tmp/bash_command_timer.sh /usr/bin/env bash_command_timer.sh

log_task "Cloning bash-preexec to maintain compatibility using bash-preexec ..."
cd /tmp || exit
Expand Down
2 changes: 1 addition & 1 deletion install/install_docker
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/usr/bin/env bash

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

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

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

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

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

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

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

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

# ======================================================================================
#
Expand Down

0 comments on commit 5730a61

Please sign in to comment.