hooks/post-install/remove-python-bytecode-files: quote arguments properly

This fixes the error 'find: paths must precede expression'.
This commit is contained in:
Alessio Sergi 2014-11-15 11:45:45 +01:00
parent 09bae5cd05
commit d0b4ad9dfa

View file

@ -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
}