common: expand_destdir rewrite
This commit is contained in:
@@ -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)"
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user