aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/shell/testenv.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/shell/testenv.sh')
-rwxr-xr-xsrc/test/shell/testenv.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/shell/testenv.sh b/src/test/shell/testenv.sh
index b3ed2aec73..9562970fda 100755
--- a/src/test/shell/testenv.sh
+++ b/src/test/shell/testenv.sh
@@ -162,6 +162,8 @@ function copy_tools_directory() {
# tools/jdk/BUILD file for JDK 7 is generated.
if [ -f tools/jdk/BUILD.* ]; then
cp tools/jdk/BUILD.* tools/jdk/BUILD
+ fi
+ if [ -f tools/jdk/BUILD ]; then
chmod +w tools/jdk/BUILD
fi
# To support custom langtools