Loading util/files.pl +7 −1 Original line number Diff line number Diff line Loading @@ -4,6 +4,12 @@ # It is basically a list of all variables from the passed makefile # while ($ARGV[0] =~ /^(\S+)\s*=(.*)$/) { $sym{$1} = $2; shift; } $s=""; while (<>) { Loading Loading @@ -33,7 +39,7 @@ while (<>) $o =~ s/\s+/ /g; $o =~ s/\$[({]([^)}]+)[)}]/$sym{$1}/g; $sym{$s}=$o; $sym{$s}=$o if !exists $sym{$s}; } } Loading Loading
util/files.pl +7 −1 Original line number Diff line number Diff line Loading @@ -4,6 +4,12 @@ # It is basically a list of all variables from the passed makefile # while ($ARGV[0] =~ /^(\S+)\s*=(.*)$/) { $sym{$1} = $2; shift; } $s=""; while (<>) { Loading Loading @@ -33,7 +39,7 @@ while (<>) $o =~ s/\s+/ /g; $o =~ s/\$[({]([^)}]+)[)}]/$sym{$1}/g; $sym{$s}=$o; $sym{$s}=$o if !exists $sym{$s}; } } Loading