diff options
author | 2015-09-25 15:24:06 +0000 | |
---|---|---|
committer | 2015-09-28 11:39:04 +0000 | |
commit | cb2e03322be3f34b28df22ea17fe05e16fd2466d (patch) | |
tree | 4683aee26395f9280819fd635299ae4003191a2e /tools/build_defs/scala | |
parent | b393a53c5a3ce2cfd28a42d6362a02401f987543 (diff) |
Quick and dirty fix for #456.
--
Reviewed-on: https://github.com/bazelbuild/bazel/pull/458
MOS_MIGRATED_REVID=103943941
Diffstat (limited to 'tools/build_defs/scala')
-rw-r--r-- | tools/build_defs/scala/scala.bzl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/build_defs/scala/scala.bzl b/tools/build_defs/scala/scala.bzl index 843f6f2acb..1a77660f57 100644 --- a/tools/build_defs/scala/scala.bzl +++ b/tools/build_defs/scala/scala.bzl @@ -27,7 +27,8 @@ set -e mkdir -p {out}_tmp {scalac} {scala_opts} {jvm_flags} -classpath "{jars}" $@ -d {out}_tmp # Make jar file deterministic by setting the timestamp of files -touch -t 198001010000 $(find .) +touch -t 198001010000 $(find {out}_tmp) +touch -t 198001010000 {manifest} jar cmf {manifest} {out} -C {out}_tmp . """ cmd = cmd.format( |