Skip to content

Commit 7c7b15d

Browse files
committed
bin/brew: don't allow unbound variables.
This can fail for users using `bash -u` or `set -u` in their shell so let's try to be stricter here for both them and us.
1 parent 352f6ac commit 7c7b15d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/brew

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash -p
1+
#!/bin/bash -pu
22
set -u
33

44
# Fail fast with concise message when not using bash

0 commit comments

Comments
 (0)