config: only try to load FILE.ARCH and FILE.DIST if non-empty strings
to thus avoid trying to load `FILE.` Gbp-Dch: Ignore
This commit is contained in:
parent
61aa3239c5
commit
a72e7daaf7
|
@ -18,7 +18,9 @@ Get_conffiles ()
|
|||
else
|
||||
local FILE
|
||||
for FILE in "${@}"; do
|
||||
FILES="${FILES} ${FILE} ${FILE}.${LB_ARCHITECTURE} ${FILE}.${DISTRIBUTION}"
|
||||
FILES="${FILES} ${FILE}"
|
||||
FILES="${FILES} ${LB_ARCHITECTURE:+$FILE.$LB_ARCHITECTURE}"
|
||||
FILES="${FILES} ${DISTRIBUTION:+$FILE.$DISTRIBUTION}"
|
||||
done
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue