Fix a zsh compatiblity issue in java/BUILD.bazel (#12199)

This commit is contained in:
Hao Chen 2020-11-25 14:49:49 +08:00 committed by GitHub
parent 4066056a0d
commit 20eb217c55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -254,11 +254,11 @@ genrule(
cp -f $(location //java:ray_dist_deploy.jar) "$$WORK_DIR/python/ray/jars/ray_dist.jar" cp -f $(location //java:ray_dist_deploy.jar) "$$WORK_DIR/python/ray/jars/ray_dist.jar"
chmod +w "$$WORK_DIR/python/ray/jars/ray_dist.jar" chmod +w "$$WORK_DIR/python/ray/jars/ray_dist.jar"
zip -d "$$WORK_DIR/python/ray/jars/ray_dist.jar" \ zip -d "$$WORK_DIR/python/ray/jars/ray_dist.jar" \
native/*/gcs_server \ "native/*/gcs_server" \
native/*/libray_redis_module.so \ "native/*/libray_redis_module.so" \
native/*/plasma_store_server \ "native/*/plasma_store_server" \
native/*/raylet \ "native/*/raylet" \
native/*/redis-server "native/*/redis-server"
date > $@ date > $@
""", """,
local = 1, local = 1,