~ubuntu-branches/ubuntu/utopic/devscripts/utopic-security

« back to all changes in this revision

Viewing changes to scripts/debchange.pl

  • Committer: Package Import Robot
  • Author(s): Benjamin Drung
  • Date: 2013-02-18 22:27:33 UTC
  • mfrom: (10.9.22 experimental)
  • Revision ID: package-import@ubuntu.com-20130218222733-7krtkqzko32xte0z
Tags: 2.13.0ubuntu1
* Merge from Debian experimental. Remaining changes:
  - Convert python scripts to python3. (Closes: #680313)
    Debian bug #695259 needs to be fixed to get the change into Debian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1563
1563
    my $mtime = (stat("$changelog_path.dch"))[9];
1564
1564
    defined $mtime or fatal
1565
1565
        "Error getting modification time of temporary $changelog_path: $!";
 
1566
    $mtime--;
 
1567
    utime $mtime, $mtime, "$changelog_path.dch";
1566
1568
 
1567
1569
    system("sensible-editor +$line $changelog_path.dch") == 0 or
1568
1570
        fatal "Error editing $changelog_path";