r54334 - /trunk/dh-make-perl/lib/DhMakePerl/Command/Packaging.pm

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Sun Mar 14 17:35:06 UTC 2010


Author: dmn
Date: Sun Mar 14 17:34:59 2010
New Revision: 54334

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=54334
Log:
backup_file(): rename, don't copy

Modified:
    trunk/dh-make-perl/lib/DhMakePerl/Command/Packaging.pm

Modified: trunk/dh-make-perl/lib/DhMakePerl/Command/Packaging.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/lib/DhMakePerl/Command/Packaging.pm?rev=54334&op=diff
==============================================================================
--- trunk/dh-make-perl/lib/DhMakePerl/Command/Packaging.pm (original)
+++ trunk/dh-make-perl/lib/DhMakePerl/Command/Packaging.pm Sun Mar 14 17:34:59 2010
@@ -1103,7 +1103,7 @@
     if ( $self->cfg->backups ) {
         warn "W: overwriting $file.bak\n"
             if -e "$file.bak" and $self->cfg->verbose;
-        copy( $file, "$file.bak" );
+        rename( $file, "$file.bak" );
     }
 }
 




More information about the Pkg-perl-cvs-commits mailing list