Skip to content

Commit 28f450c

Browse files
andreossjenkins
authored andcommitted
[scrooge]: Portable shebang
Problem: /bin/bash is not available on non-FHS distros, such as NixOS Solution: Replace /bin/bash with /usr/bin/env bash Result: Closes #366 Differential Revision: https://phabricator.twitter.biz/D1107604
1 parent fe8a81d commit 28f450c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

pushsite.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
set -e
44

sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
set -eo pipefail
44

scrooge-generator-tests/src/test/resources/gen_gold_files.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
set -euxo pipefail
44

scrooge-linter/src/scripts/linter-test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# Run from source root
44
# e.g. ./pants bundle scrooge/scrooge-linter:app \

0 commit comments

Comments
 (0)