Skip to content

Commit

Permalink
stdlib: revert the set -euo pipefail change
Browse files Browse the repository at this point in the history
This is exposing too many issues in existing scripts. Let's keep
pretending everything is fine. See direnv#566 for examples.
  • Loading branch information
zimbatm committed Jan 28, 2020
1 parent fd6ee28 commit ba44793
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion stdlib.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ const StdLib = "#!/usr/bin/env bash\n" +
"# SC1091: Not following: (file missing)\n" +
"# SC1117: Backslash is literal in \"\\n\". Prefer explicit escaping: \"\\\\n\".\n" +
"# SC2059: Don't use variables in the printf format string. Use printf \"..%s..\" \"$foo\".\n" +
"set -euo pipefail\n" +
"shopt -s gnu_errfmt\n" +
"shopt -s nullglob\n" +
"\n" +
Expand Down
1 change: 0 additions & 1 deletion stdlib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
# SC1091: Not following: (file missing)
# SC1117: Backslash is literal in "\n". Prefer explicit escaping: "\\n".
# SC2059: Don't use variables in the printf format string. Use printf "..%s.." "$foo".
set -euo pipefail
shopt -s gnu_errfmt
shopt -s nullglob

Expand Down

0 comments on commit ba44793

Please sign in to comment.