aboutsummaryrefslogtreecommitdiff
path: root/common/hooks/pre-pkg
diff options
context:
space:
mode:
authorEnno Boland <gottox@voidlinux.eu>2015-11-18 10:19:09 +0000
committerEnno Boland <gottox@voidlinux.eu>2015-11-18 10:19:09 +0000
commit82b736b616d347e7db440e18455dcb97b706d9aa (patch)
tree8e81a7a8ca974c5cecd6183949d902da1d4476e4 /common/hooks/pre-pkg
parent18e288fd2c9ef42ee7beff5f6a4eee888f197185 (diff)
downloadvoid-packages-82b736b616d347e7db440e18455dcb97b706d9aa.tar
void-packages-82b736b616d347e7db440e18455dcb97b706d9aa.tar.gz
void-packages-82b736b616d347e7db440e18455dcb97b706d9aa.tar.bz2
void-packages-82b736b616d347e7db440e18455dcb97b706d9aa.tar.lz
void-packages-82b736b616d347e7db440e18455dcb97b706d9aa.tar.xz
void-packages-82b736b616d347e7db440e18455dcb97b706d9aa.tar.zst
void-packages-82b736b616d347e7db440e18455dcb97b706d9aa.zip
common: expand_destdir rewrite
Diffstat (limited to 'common/hooks/pre-pkg')
-rw-r--r--common/hooks/pre-pkg/99-pkglint.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/hooks/pre-pkg/99-pkglint.sh b/common/hooks/pre-pkg/99-pkglint.sh
index e9015e25365..441da4a59f7 100644
--- a/common/hooks/pre-pkg/99-pkglint.sh
+++ b/common/hooks/pre-pkg/99-pkglint.sh
@@ -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