mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-01 17:35:17 +00:00
syntax-check: Use VC_LIST_EXCEPT in sc_prohibit_backup_files
We can assume that VC_LIST_ALWAYS_EXCLUDE_REGEX will not be defined in a way that would catch backup files. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
18cb263100
commit
39d1c78967
@ -1326,7 +1326,7 @@ sc_prohibit_defined_have_decl_tests:
|
|||||||
|
|
||||||
# Prohibit checked in backup files.
|
# Prohibit checked in backup files.
|
||||||
sc_prohibit_backup_files:
|
sc_prohibit_backup_files:
|
||||||
@$(VC_LIST) | $(GREP) '~$$' && \
|
@$(VC_LIST_EXCEPT) | $(GREP) '~$$' && \
|
||||||
{ echo '$(ME): found version controlled backup file' 1>&2; \
|
{ echo '$(ME): found version controlled backup file' 1>&2; \
|
||||||
exit 1; } || :
|
exit 1; } || :
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user