diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-01-12T10·40+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-01-12T10·40+0000 |
commit | b17e7cf9794b406aa26dd2ccbe2f64c1ba981d99 (patch) | |
tree | 632fc62c3f276f4d2dd2a3bcd5412e606453378a | |
parent | 0bc41f632b22814514b1d6784fa02454febd2fd4 (diff) |
* Script to remove patches from manifests.
-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; +} |