elasticsearch/Makefile: run wget inside the container instead of the host

This commit is contained in:
Albert Hopkins 2015-09-23 03:37:42 +00:00
parent 24ce75a112
commit cc8b95d425
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ create_user:
install_elasticsearch:
$(inroot) test -f /usr/portage/distfiles/$(ES_TARBALL) || \
wget -P /usr/portage/distfiles $(ES_URL)
$(inroot) wget -P /usr/portage/distfiles $(ES_URL)
$(inroot) tar xf /usr/portage/distfiles/$(ES_TARBALL) -C $(ES_HOME)
$(inroot) sh -c 'cd $(ES_HOME) && ln -s elasticsearch-$(ES_VER)/* .'