summaryrefslogtreecommitdiff
path: root/bin/pippen.pl
diff options
context:
space:
mode:
authorbrunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-03-11 03:21:17 +0000
committerbrunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-03-11 03:21:17 +0000
commite5b4a304f8ee26c7186d589ae451109acd58dd20 (patch)
treedff8167628099640fa41786bee4df6d7568e2930 /bin/pippen.pl
parent77115dda0c941f517455496338a016a3de5c841b (diff)
downloadATCD-e5b4a304f8ee26c7186d589ae451109acd58dd20.tar.gz
ChangeLogTag:Sat Mar 10 19:05:38 2001 Darrell Brunsch <brunsch@uci.edu>
Diffstat (limited to 'bin/pippen.pl')
-rwxr-xr-xbin/pippen.pl14
1 files changed, 7 insertions, 7 deletions
diff --git a/bin/pippen.pl b/bin/pippen.pl
index cecedc92ce5..fea2bcf3040 100755
--- a/bin/pippen.pl
+++ b/bin/pippen.pl
@@ -100,27 +100,27 @@ while ( $#ARGV >= 0)
}
if (!defined @configs) {
- if (!defined $ENV{DEFAULT_CONFIGS}) {
+ if (!defined $ENV{PIPPEN_CONFIGS}) {
print STDERR "Error: No config specified\n";
exit 1;
}
- @configs = split /:/, $ENV{DEFAULT_CONFIGS};
+ @configs = split /:/, $ENV{PIPPEN_CONFIGS};
}
if (!defined $extension) {
- if (!defined $ENV{DEFAULT_COMPILER}) {
+ if (!defined $ENV{PIPPEN_COMPILER}) {
print STDERR "Error: No compiler specified\n";
exit 1;
}
- if ($ENV{DEFAULT_COMPILER} eq "evc3") {
+ if ($ENV{PIPPEN_COMPILER} eq "evc3") {
$extension = "vcp";
}
- elsif ($ENV{DEFAULT_COMPILER} eq "msvc6") {
+ elsif ($ENV{PIPPEN_COMPILER} eq "msvc6") {
$extension = "dsp";
}
- elsif ($ENV{DEFAULT_COMPILER} eq "msvc7") {
+ elsif ($ENV{PIPPEN_COMPILER} eq "msvc7") {
$extension = "vcproj";
}
}
@@ -237,7 +237,7 @@ foreach my $project (keys %projects) {
foreach my $config (@configs) {
foreach my $proj_config ($proj->Configs ()) {
- if ($proj_config =~ m/$config/i) {
+ if ($proj_config =~ m/\Q$config\E/i) {
print " \"$proj_config\"" if ($verbose);
my $name = $proj->DepOutputFile ($proj_config);