From 9d1bdfd07f5c3a8bc7a64396d065883e04ee5e70 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 13 Feb 2025 09:36:14 +0100 Subject: [PATCH] Bug 39115: Replace (:exclude) with --exclude I don't really explain this one, but this is something wrong with (:exclude) % git ls-files koha-tmpl/intranet-tmpl/js/i18n.js --exclude='koha-tmpl/intranet-tmpl/lib' --exclude='koha-tmpl/intranet-tmpl/js/Gettext.js' --exclude='koha-tmpl/opac-tmpl/lib' koha-tmpl/intranet-tmpl/js/i18n.js => Return the file has expected % git ls-files koha-tmpl/intranet-tmpl/js/i18n.js ':(exclude)koha-tmpl/intranet-tmpl/lib' ':(exclude)koha-tmpl/intranet-tmpl/js/Gettext.js' ':(exclude)koha-tmpl/opac-tmpl/lib' => Does not return anything! Signed-off-by: Nick Clemens Signed-off-by: Tomas Cohen Arazi Signed-off-by: Katrin Fischer --- misc/devel/tidy.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/devel/tidy.pl b/misc/devel/tidy.pl index 6e5038c822..c2527a2cf2 100755 --- a/misc/devel/tidy.pl +++ b/misc/devel/tidy.pl @@ -124,7 +124,7 @@ sub tidy { sub build_git_exclude { my ($filetype) = @_; - return join( " ", map( "':(exclude)$_'", @{ $exceptions->{$filetype} } ) ); + return join( " ", map( "--exclude='$_'", @{ $exceptions->{$filetype} } ) ); } sub get_perl_files {