Skip to content

Commit

Permalink
Remove 'posixly correct' flag from sh scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ascopes committed Sep 23, 2024
1 parent 5acaa42 commit f92fb56
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,7 @@ private Path writePosixScripts(

var script = new StringBuilder()
.append("#!").append(sh).append('\n')
.append("set -o errexit\n")
.append("set -o posix > /dev/null 2>&1 || :\n");
.append("set -o errexit\n");

quoteShellArg(script, javaExecutable.toString());
script.append(' ');
Expand Down

0 comments on commit f92fb56

Please sign in to comment.