Skip to content

Commit

Permalink
[twitter-server]: Portable shebang
Browse files Browse the repository at this point in the history
Problem:

/bin/bash is not available on non-FHS distros, such as NixOS

Solution:

Replace /bin/bash with /usr/bin/env bash

Result:

Closes #77

Differential Revision: https://phabricator.twitter.biz/D1107607
  • Loading branch information
andreoss authored and jenkins committed Oct 31, 2023
1 parent 33b3fb0 commit 0238c85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pushsite.bash
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -e

Expand Down
2 changes: 1 addition & 1 deletion sbt
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -eo pipefail

Expand Down

0 comments on commit 0238c85

Please sign in to comment.