mirror of
https://gitlab.archlinux.org/archlinux/devtools.git
synced 2025-09-14 10:26:18 +02:00
Compare commits
2 Commits
4c6e9c037b
...
0ce651857c
Author | SHA1 | Date | |
---|---|---|---|
![]() |
0ce651857c | ||
![]() |
cfb99fd2d8 |
@@ -350,6 +350,12 @@ nvchecker_check_config() {
|
|||||||
printf "non-pkgbase section not supported in %s: %s" "${config}" "${property}"
|
printf "non-pkgbase section not supported in %s: %s" "${config}" "${property}"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# check if the config is using the 'cmd' source
|
||||||
|
if grep --extended-regexp --quiet '^\s*source\s*=\s*["'\'']cmd["'\'']\s*$' "${config}"; then
|
||||||
|
printf "using the 'cmd' source in %s is disallowed" "${config}"
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
nvchecker_check_error() {
|
nvchecker_check_error() {
|
||||||
|
Reference in New Issue
Block a user