common: expand_destdir rewrite

This commit is contained in:
Enno Boland 2015-11-18 11:19:09 +01:00
parent 18e288fd2c
commit 82b736b616
3 changed files with 15 additions and 12 deletions

View file

@ -25,7 +25,7 @@ hook() {
done
# Check that configuration files really exist.
for f in $(expand_destdir ${conf_files}); do
for f in $(expand_destdir "${conf_files}"); do
if [ ! -f "${PKGDESTDIR}/${f}" ]; then
msg_red "${pkgver}: '$f' configuration file not in PKGDESTDIR!\n"
error=1