Skip to content

Commit

Permalink
Don't export SHELLOPTS
Browse files Browse the repository at this point in the history
Exporting SHELLOPTS has the potential to break any shell script invoked
by gradle, since any shell script that invokes `set -e` will have
that setting exported to _all_ shell scripts invoked as
descendant processes, changing behaviour (and in my case,
breaking the build).
  • Loading branch information
guyboltonking committed Jun 9, 2021
1 parent 72970c4 commit ce45da2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ DEBUG="${DEBUG:-0}"
if [[ "${DEBUG}" == 1 ]]; then
set -x
fi
export SHELLOPTS

readonly INFO_COLOR='\033[1;96m'
readonly NO_COLOR='\033[0m' # No Color
Expand Down

0 comments on commit ce45da2

Please sign in to comment.