forked from lix-project/lix
* Script to remove patches from manifests.
This commit is contained in:
parent
0bc41f632b
commit
b17e7cf979
19
scripts/remove-patches.pl
Executable file
19
scripts/remove-patches.pl
Executable 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;
|
||||||
|
}
|
Loading…
Reference in a new issue