Fix registry_ear_file

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=196918963
This commit is contained in:
jart 2018-05-16 17:46:41 -07:00 committed by jianglai
parent e5f4b5a17b
commit 44890c2964

View file

@ -38,8 +38,7 @@ def registry_ear_file(name, out, configs, wars, **kwargs):
"cd ..", "cd ..",
] ]
cmd += [ cmd += [
("find . | sed 1d | cut -c 3- | LC_ALL=C sort" + "$${zipper} cC $${repo}/$@ $$(find . | sed 1d | cut -c 3- | LC_ALL=C sort)",
" | xargs $${zipper} cC $${repo}/$@"),
"cd $${repo}", "cd $${repo}",
"rm -rf $${tmp}", "rm -rf $${tmp}",
] ]