Skip to content

Commit

Permalink
scripts: Use /usr/bin/env bash instead of /bin/bash.
Browse files Browse the repository at this point in the history
Same approach as is common for python.

Fixes builds on NixOS and other environments that guarantee
reproducible builds.
  • Loading branch information
nh2 committed Jul 14, 2017
1 parent dbc20c6 commit 53ee1d0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build
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 scripts/semaphore.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 test
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Test script code thanks to coreos/etcd
#
Expand Down

0 comments on commit 53ee1d0

Please sign in to comment.