diff options
Diffstat (limited to 'scripts/Dpkg/Source/Quilt.pm')
| -rw-r--r-- | scripts/Dpkg/Source/Quilt.pm | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/scripts/Dpkg/Source/Quilt.pm b/scripts/Dpkg/Source/Quilt.pm index 55b3fbaf8..78a4fdf9a 100644 --- a/scripts/Dpkg/Source/Quilt.pm +++ b/scripts/Dpkg/Source/Quilt.pm @@ -30,7 +30,7 @@ use File::Basename;  use Dpkg::Gettext;  use Dpkg::ErrorHandling;  use Dpkg::Source::Patch; -use Dpkg::Source::Functions qw(erasedir fs_time); +use Dpkg::Source::Functions qw(erasedir chmod_if_needed fs_time);  use Dpkg::Vendor qw(get_current_vendor);  sub new { @@ -374,7 +374,7 @@ sub restore_quilt_backup_files {                  unless (link($_, $target)) {                      copy($_, $target)                          or syserr(g_('failed to copy %s to %s'), $_, $target); -                    chmod((stat(_))[2], $target) +                    chmod_if_needed((stat _)[2], $target)                          or syserr(g_("unable to change permission of '%s'"), $target);                  }              } else { | 
