Skip to content

Commit f291bb7

Browse files
committed
Shell scripts: Use env(1) to find Bash
1 parent 973ad49 commit f291bb7

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

dist-lib.sh

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

33
## This source code is dual-licensed under the Apache License, version
44
## 2.0, and the Mozilla Public License, version 1.1.
@@ -61,4 +61,3 @@ function safe-rm-deep-dir {
6161
rm -rf /tmp/del
6262
fi
6363
}
64-

dist.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
## This source code is dual-licensed under the Apache License, version
44
## 2.0, and the Mozilla Public License, version 1.1.

0 commit comments

Comments
 (0)