瀏覽代碼

Build: tar on linux needs the --wildcard option, but not supported on OSX

Removing '*.jar'  filter when untarring during the license check
Clinton Gormley 10 年之前
父節點
當前提交
a3d1a50865
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      dev-tools/src/main/resources/license-check/check_license_and_sha.pl

+ 1 - 1
dev-tools/src/main/resources/license-check/check_license_and_sha.pl

@@ -177,7 +177,7 @@ sub check_tar_has_same_shas {
 
     my $temp_dir = File::Temp->newdir;
     my $dir_name = $temp_dir->dirname;
-    system( 'tar', "-xz", "-C" => $dir_name, "-f" => $tar, "*.jar" )
+    system( 'tar', "-xz", "-C" => $dir_name, "-f" => $tar )
         && die "Error unpacking <$tar> to <" . $dir_name . ">: $!\n";
 
     my @jars;