]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
scripts/copyright.pl: support many provided file names on the cmdline
authorDaniel Stenberg <daniel@haxx.se>
Fri, 7 Jan 2022 09:06:16 +0000 (10:06 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 7 Jan 2022 09:06:16 +0000 (10:06 +0100)
scripts/copyright.pl

index 9f37d1f2d1d4ee7ba2bec9bdaf93198d7796be2f..089f04a9ebb7e80532f4b447641303cd78a8f510 100755 (executable)
@@ -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`;