From: Don Armstrong Date: Thu, 3 Dec 2015 18:27:15 +0000 (-0600) Subject: copy nscd.c instead; uscan must be called with --no-symlink X-Git-Tag: debian/0.52-2~19 X-Git-Url: https://git.donarmstrong.com/unscd.git?a=commitdiff_plain;h=e2ef86b3fb387cfd6f64d09662a705afb576ba7b;p=unscd.git copy nscd.c instead; uscan must be called with --no-symlink --- diff --git a/debian/repack b/debian/repack index 6c29dde..dbd6b6c 100644 --- a/debian/repack +++ b/debian/repack @@ -42,6 +42,7 @@ use vars qw($DEBUG); use Cwd; use File::Temp qw(tempdir); +use File::Copy qw(copy); my %options = (debug => 0, help => 0, @@ -72,7 +73,7 @@ my $curdir = getcwd; my $orig_dir_name = 'unscd-'.$options{upstream_version}; my $orig_dir_path = File::Spec->catfile($tdir,$orig_dir_name); mkdir($orig_dir_path) or die "Unable to mkdir $orig_dir_path: $!"; -rename($ARGV[0],File::Spec->catfile($orig_dir_path,'nscd.c')) or +copy($ARGV[0],File::Spec->catfile($orig_dir_path,'nscd.c')) or die "Unable to copy $ARGV[0] to $orig_dir_path/nscd.c: $!"; system('tar','-zcf',File::Spec->catfile($curdir, File::Spec->updir(),