diff options
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/rebar/rebar-3.20.0.ebuild | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/dev-util/rebar/rebar-3.20.0.ebuild b/dev-util/rebar/rebar-3.20.0.ebuild index 64591ebffb41..976fc3c4ceba 100644 --- a/dev-util/rebar/rebar-3.20.0.ebuild +++ b/dev-util/rebar/rebar-3.20.0.ebuild @@ -31,10 +31,13 @@ DEPEND="${RDEPEND}" src_unpack() { unpack ${P}.tar.gz - mkdir "${S}"/vendor/meck || die - tar -O -xf "${DISTDIR}"/meck-${MECK_PV}.tar contents.tar.gz | - tar -xzf - -C "${S}"/vendor/meck - assert + + if use test; then + mkdir "${S}"/vendor/meck || die + tar -O -xf "${DISTDIR}"/meck-${MECK_PV}.tar contents.tar.gz | + tar -xzf - -C "${S}"/vendor/meck + assert + fi } src_compile() { |