hooks/post-install/remove-python-bytecode-files: quote arguments properly
This fixes the error 'find: paths must precede expression'.
This commit is contained in:
parent
09bae5cd05
commit
d0b4ad9dfa
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
# This hook removes python bytecode files (.py[co]).
|
||||
|
||||
hook() {
|
||||
find ${PKGDESTDIR} -type f -name *.py[co] -delete
|
||||
find ${PKGDESTDIR} -type f -name '*.py[co]' -delete
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue