parent
bbe3f614b2
commit
007261ade5
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ source_makepkg_config() {
|
||||||
# Source the config file; fail if it is not found
|
# Source the config file; fail if it is not found
|
||||||
if [[ -r $MAKEPKG_CONF ]]; then
|
if [[ -r $MAKEPKG_CONF ]]; then
|
||||||
source_safe "$MAKEPKG_CONF"
|
source_safe "$MAKEPKG_CONF"
|
||||||
if [[ -d "$MAKEPKG_CONF.d" ]]; then
|
if [[ -d "$MAKEPKG_CONF.d" ]] && compgen -G "$MAKEPKG_CONF.d"/'*.conf' > /dev/null; then
|
||||||
for c in "$MAKEPKG_CONF.d"/*.conf; do
|
for c in "$MAKEPKG_CONF.d"/*.conf; do
|
||||||
source_safe $c
|
source_safe $c
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Reference in a new issue