Skip to content

Commit

Permalink
Search PATH for bash
Browse files Browse the repository at this point in the history
bash is not always in `/bin`.

`#!/usr/bin/env` searches `PATH` for bash.

This increases portability.
  • Loading branch information
davegallant committed Mar 10, 2021
1 parent b04a561 commit e753a3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws-connect
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Wrapper around AWS session manager for instance access and SSH tunnels

Expand Down

0 comments on commit e753a3e

Please sign in to comment.