Skip to content

Commit

Permalink
remove local
Browse files Browse the repository at this point in the history
  • Loading branch information
ittaiz committed Mar 21, 2019
1 parent cdd3898 commit 8b8271e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions java_stub_template/file/file.txt
Original file line number Diff line number Diff line change
Expand Up @@ -350,9 +350,9 @@ if [ -z "$CLASSPATH_LIMIT" ]; then
fi

#Difference from https://github.com/bazelbuild/bazel/blob/68c7e5a3c679be51f750d44aae146007f0f04b4d/src/main/java/com/google/devtools/build/lib/bazel/rules/java/java_stub_template.txt
local JARBIN="%jarbin%"
local PERCENTAGE_LITERAL="%"
local JARBIN_LITERAL="${PERCENTAGE_LITERAL}jarbin${PERCENTAGE_LITERAL}"
JARBIN="%jarbin%"
PERCENTAGE_LITERAL="%"
JARBIN_LITERAL="${PERCENTAGE_LITERAL}jarbin${PERCENTAGE_LITERAL}"
# if jarbin is evaluated to empty string or not substituted fallback to previous behavior
# for backwards compatibility
if [ -z "$JARBIN" ] || [ "$JARBIN" == "$JARBIN_LITERAL" ] ; then
Expand Down

0 comments on commit 8b8271e

Please sign in to comment.