]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
unit-cc: Remove workaround which existed for 2.0.x only.
authorPeter Powell <petpow@saberuk.com>
Sun, 22 Mar 2015 01:52:59 +0000 (01:52 +0000)
committerPeter Powell <petpow@saberuk.com>
Wed, 13 May 2015 14:22:44 +0000 (15:22 +0100)
make/unit-cc.pl

index 3af6209446a64b8f41dd085e0bdf67936423c8ca..cbe38521c82c8e071800fb1234dd22de2c0cd580 100755 (executable)
@@ -35,21 +35,7 @@ my $type = shift;
 my $out = shift;
 my $verbose = ($type =~ s/-v$//);
 
-## BEGIN HACK: REMOVE IN 2.2!
-sub read_config_cache {
-       my %cfg = ();
-       open(CACHE, '../.config.cache') or return %cfg;
-       while (my $line = <CACHE>) {
-               next if $line =~ /^\s*($|\#)/;
-               my ($key, $value) = ($line =~ /^(\S+)="(.*)"$/);
-               $cfg{$key} = $value;
-       }
-       close(CACHE);
-       return %cfg;
-}
-
-our %config = read_config_cache();
-## END HACK
+our %config = read_configure_cache();
 
 if ($type eq 'gen-ld') {
        do_static_find(@ARGV);