Skip to content

Commit

Permalink
Ensure that bash is used.
Browse files Browse the repository at this point in the history
Where the location of bash can differ from one system to another system:
/bin/bash /usr/bin/bash /usr/local/bin/bash /opt/bin/bash etc

All systems (that I know of) have the env command in the same location
/usr/bin/env
  • Loading branch information
UffeJakobsen committed Feb 18, 2013
1 parent 4ff6bec commit c67b919
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions JSON.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env bash

throw () {
echo "$*" >&2
Expand Down

0 comments on commit c67b919

Please sign in to comment.