Fix to use cleaned DEB staging tree for source tarball
Some checks failed
webmin.dev: webmin/webmin / build (push) Has been cancelled

https://github.com/webmin/webmin/pull/2708#issuecomment-4473625945
This commit is contained in:
Ilia Ross
2026-05-18 10:56:46 +02:00
parent 4bdb518493
commit 256046ed1f

View File

@@ -622,10 +622,10 @@ if ($dsc_file) {
$diffmd5 =~ s/\s+.*\n//g;
my @diffst = stat($diff_file);
# Create a tar file of the module directory
# Create a tar file of the cleaned staged module directory
my $tar_file = $dsc_file;
$tar_file =~ s/[^\/]+$//; $tar_file .= "$prefix$mod-$ver.tar.gz";
system("cd $par ; tar czf $tar_file $source_mod");
system("cd $usr_dir ; tar czf $tar_file $mod");
my $md5 = `md5sum $tar_file`;
$md5 =~ s/\s+.*\n//g;
my @st = stat($tar_file);