diff options
Diffstat (limited to 'scripts/remove-patches.pl')
-rwxr-xr-x | scripts/remove-patches.pl | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/scripts/remove-patches.pl b/scripts/remove-patches.pl new file mode 100755 index 000000000000..8329ab038a73 --- /dev/null +++ b/scripts/remove-patches.pl @@ -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; +} |