Skip to content

Commit

Permalink
Fix bashism in combine_distfiles_to_tar.sh.
Browse files Browse the repository at this point in the history
This caused the following error message:

INFO: From Executing genrule //:bazel-distfile-tar:
./combine_distfiles_to_tar.sh: 44: [: Linux: unexpected operator
PiperOrigin-RevId: 344242407
  • Loading branch information
philwo authored and copybara-github committed Nov 25, 2020
1 parent c6bf178 commit 1ad391b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion combine_distfiles_to_tar.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ do
done

ID_OPTS="--group=0 --owner=0"
if [ "$(uname -s)" == "Darwin" ]; then
if [ "$(uname -s)" = "Darwin" ]; then
ID_OPTS="--gid=0 --uid=0"
fi

Expand Down

0 comments on commit 1ad391b

Please sign in to comment.