Merge pull request #1425 from pullmoll/master
xbps-src: fix handling of path names containing spaces
This commit is contained in:
commit
dee8140732
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# This hooks removes empty dirs and warns about them.
|
||||
|
||||
hook() {
|
||||
for f in $(find ${PKGDESTDIR} -type d -empty|sort -r); do
|
||||
find "${PKGDESTDIR}" -type d -empty|sort -r|while read f; do
|
||||
_dir="${f##${PKGDESTDIR}}"
|
||||
[ -z "${_dir}" ] && continue
|
||||
rmdir --ignore-fail-on-non-empty -p "$f" &>/dev/null
|
||||
|
|
Loading…
Add table
Reference in a new issue