Merge "Use @arg-lsit-file for jar in add-carried-jack-resources"
This commit is contained in:
commit
3757268466
1 changed files with 5 additions and 5 deletions
|
@ -2105,11 +2105,11 @@ endef
|
|||
#
|
||||
define add-carried-jack-resources
|
||||
$(hide) if [ -d $(PRIVATE_JACK_INTERMEDIATES_DIR) ] ; then \
|
||||
jack_res_jar_flags=$$(find $(PRIVATE_JACK_INTERMEDIATES_DIR) -type f \
|
||||
| sed -e "s?^$(PRIVATE_JACK_INTERMEDIATES_DIR)/? -C $(PRIVATE_JACK_INTERMEDIATES_DIR) ?"); \
|
||||
if [ -n "$$jack_res_jar_flags" ] ; then \
|
||||
echo $$jack_res_jar_flags >$(dir $@)jack_res_jar_flags; \
|
||||
jar uf $@ $$jack_res_jar_flags; \
|
||||
find $(PRIVATE_JACK_INTERMEDIATES_DIR) -type f \
|
||||
| sed -e "s?^$(PRIVATE_JACK_INTERMEDIATES_DIR)/? -C $(PRIVATE_JACK_INTERMEDIATES_DIR) ?" \
|
||||
> $(dir $@)jack_res_jar_flags; \
|
||||
if [ -s $(dir $@)jack_res_jar_flags ] ; then \
|
||||
jar uf $@ @$(dir $@)jack_res_jar_flags; \
|
||||
fi; \
|
||||
fi
|
||||
endef
|
||||
|
|
Loading…
Reference in a new issue