Skip to content

Commit

Permalink
eutils.eclass: Sanitize exeopts
Browse files Browse the repository at this point in the history
Sanitize exeopts when calling newexe, in order to avoid prior insopts
calls accidentally affecting make_wrapper.
  • Loading branch information
mgorny committed Jun 13, 2018
1 parent 49a3ae2 commit 85f9afe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eclass/eutils.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ make_wrapper() {

if [[ -n ${path} ]] ; then
(
exeopts -m 0755
exeinto "${path}"
newexe "${tmpwrapper}" "${wrapper}"
) || die
Expand Down

0 comments on commit 85f9afe

Please sign in to comment.