Skip to content

Commit

Permalink
net-misc/wireguard: do not glob to find ${S}
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.3.2
  • Loading branch information
zx2c4 committed Nov 2, 2016
1 parent 2eacdb0 commit 2b82bcd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions net-misc/wireguard/wireguard-0.0.20161102.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ src_install() {
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src/tools install
if use kmod-src; then
dodir /usr/src
rm -r "${WORKDIR}"/*/src/tools || die
mv "${WORKDIR}"/*/src "${ED}"usr/src/wireguard || die
rm -r "${S}"/src/tools || die
mv -v "${S}"/src "${ED}"usr/src/wireguard || die
else
linux-mod_src_install
fi
Expand Down
4 changes: 2 additions & 2 deletions net-misc/wireguard/wireguard-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ src_install() {
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src/tools install
if use kmod-src; then
dodir /usr/src
rm -r "${WORKDIR}"/*/src/tools || die
mv "${WORKDIR}"/*/src "${ED}"usr/src/wireguard || die
rm -r "${S}"/src/tools || die
mv -v "${S}"/src "${ED}"usr/src/wireguard || die
else
linux-mod_src_install
fi
Expand Down

0 comments on commit 2b82bcd

Please sign in to comment.