* Script to remove patches from manifests.

This commit is contained in:
Eelco Dolstra 2005-01-12 10:40:59 +00:00
parent 0bc41f632b
commit b17e7cf979

19
scripts/remove-patches.pl Executable file
View file

@ -0,0 +1,19 @@
#! /usr/bin/perl -w -I/home/eelco/nix/scripts
use strict;
use readmanifest;
for my $p (@ARGV) {
my %narFiles;
my %patches;
my %successors;
readManifest $p,
\%narFiles, \%patches, \%successors;
%patches = ();
writeManifest $p,
\%narFiles, \%patches, \%successors;
}