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 <nick@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
d0c19234ac
commit
9d1bdfd07f
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue