diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2006-06-05 19:26:11 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2006-06-05 19:26:11 +0000 |
commit | 588383905a85f8a0ce7165f1bb4abce537815aae (patch) | |
tree | eef27ed3e7e22c19b3c4b164c3f3ede540c6441a /maintainers/scripts/map-files.pl | |
parent | c40a94ad07402e5046ad857424621753070cbe11 (diff) | |
download | nixpkgs-588383905a85f8a0ce7165f1bb4abce537815aae.tar nixpkgs-588383905a85f8a0ce7165f1bb4abce537815aae.tar.gz nixpkgs-588383905a85f8a0ce7165f1bb4abce537815aae.tar.bz2 nixpkgs-588383905a85f8a0ce7165f1bb4abce537815aae.tar.lz nixpkgs-588383905a85f8a0ce7165f1bb4abce537815aae.tar.xz nixpkgs-588383905a85f8a0ce7165f1bb4abce537815aae.tar.zst nixpkgs-588383905a85f8a0ce7165f1bb4abce537815aae.zip |
* Download and unpack Visual C++ 2005 Express Edition.
svn path=/nixpkgs/trunk/; revision=5383
Diffstat (limited to 'maintainers/scripts/map-files.pl')
-rw-r--r-- | maintainers/scripts/map-files.pl | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/maintainers/scripts/map-files.pl b/maintainers/scripts/map-files.pl new file mode 100644 index 00000000000..96149a61549 --- /dev/null +++ b/maintainers/scripts/map-files.pl @@ -0,0 +1,22 @@ +#! /usr/bin/perl -w + +use strict; + +my %map; +open LIST1, "<$ARGV[0]" or die; +while (<LIST1>) { + /^(\S+)\s+(.*)$/; + $map{$1} = $2; +} + +open LIST1, "<$ARGV[1]" or die; +while (<LIST1>) { + /^(\S+)\s+(.*)$/; + if (!defined $map{$1}) { + print STDERR "missing file: $2\n"; + next; + } + print "$2\n"; + print "$map{$1}\n"; +} + |