diff options
author | Enno Boland <gottox@voidlinux.eu> | 2015-11-18 10:19:09 +0000 |
---|---|---|
committer | Enno Boland <gottox@voidlinux.eu> | 2015-11-18 10:19:09 +0000 |
commit | 82b736b616d347e7db440e18455dcb97b706d9aa (patch) | |
tree | 8e81a7a8ca974c5cecd6183949d902da1d4476e4 /common/hooks | |
parent | 18e288fd2c9ef42ee7beff5f6a4eee888f197185 (diff) | |
download | void-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')
-rw-r--r-- | common/hooks/do-pkg/00-gen-pkg.sh | 2 | ||||
-rw-r--r-- | common/hooks/pre-pkg/99-pkglint.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/common/hooks/do-pkg/00-gen-pkg.sh b/common/hooks/do-pkg/00-gen-pkg.sh index ab010ff42f8..75d47d36496 100644 --- a/common/hooks/do-pkg/00-gen-pkg.sh +++ b/common/hooks/do-pkg/00-gen-pkg.sh @@ -50,7 +50,7 @@ genpkg() { local _replaces="$(echo $replaces)" local _reverts="$(echo $reverts)" local _mutable_files="$(echo $mutable_files)" - local _conf_files="$(expand_destdir $conf_files)" + local _conf_files="$(expand_destdir "$conf_files")" local _alternatives="$(echo $alternatives)" local _tags="$(echo $tags)" 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 |