From 256046ed1f5ea0c69e036768aabb18ca6a77c4e1 Mon Sep 17 00:00:00 2001 From: Ilia Ross Date: Mon, 18 May 2026 10:56:46 +0200 Subject: [PATCH] Fix to use cleaned DEB staging tree for source tarball https://github.com/webmin/webmin/pull/2708#issuecomment-4473625945 --- makemoduledeb.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makemoduledeb.pl b/makemoduledeb.pl index 2588cbc06..eb8be1780 100755 --- a/makemoduledeb.pl +++ b/makemoduledeb.pl @@ -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);