Skip to content

Commit

Permalink
python-r1.eclass: Sanitize exeopts
Browse files Browse the repository at this point in the history
Sanitize exeopts when calling doexe, in order to avoid prior insopts
calls accidentally affecting do*/new* functions defined by the eclass.
  • Loading branch information
mgorny committed Jun 13, 2018
1 parent 85f9afe commit 45fd9de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eclass/python-r1.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -810,6 +810,7 @@ python_replicate_script() {
python_export PYTHON_SCRIPTDIR

(
exeopts -m 0755
exeinto "${PYTHON_SCRIPTDIR#${EPREFIX}}"
doexe "${files[@]}"
)
Expand Down

0 comments on commit 45fd9de

Please sign in to comment.