From: Daniel Stenberg Date: Fri, 7 Jan 2022 09:06:16 +0000 (+0100) Subject: scripts/copyright.pl: support many provided file names on the cmdline X-Git-Tag: curl-7_82_0~249 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2e6f83f051edd36f2a87fe6c80e2817fcadbbc8c;p=thirdparty%2Fcurl.git scripts/copyright.pl: support many provided file names on the cmdline --- diff --git a/scripts/copyright.pl b/scripts/copyright.pl index 9f37d1f2d1..089f04a9eb 100755 --- a/scripts/copyright.pl +++ b/scripts/copyright.pl @@ -160,7 +160,7 @@ if($ARGV[0] eq "-v") { shift @ARGV; } if($ARGV[0]) { - push @all, $ARGV[0]; + push @all, @ARGV; } else { @all = `git ls-files`;