peiyongz 2004/04/05 11:51:34 Modified: c/scripts packageBinaries.pl Log: make comparison case insensitive, typo in error message corrected. Revision Changes Path 1.145 +4 -4 xml-xerces/c/scripts/packageBinaries.pl Index: packageBinaries.pl =================================================================== RCS file: /home/cvs/xml-xerces/c/scripts/packageBinaries.pl,v retrieving revision 1.144 retrieving revision 1.145 diff -u -r1.144 -r1.145 --- packageBinaries.pl 30 Mar 2004 23:42:22 -0000 1.144 +++ packageBinaries.pl 5 Apr 2004 18:51:34 -0000 1.145 @@ -183,19 +183,19 @@ $PlatformName = 'Win64'; } - if ($opt_x eq "" || $opt_x =~ m/VC6/ ) + if ($opt_x eq "" || $opt_x =~ m/VC6/i ) { $DevStudioVer = "6.0"; $VCBuildDir = "VC6"; $ProjectDir = "$XERCESCROOT/Projects/Win32/$VCBuildDir/xerces-all"; } - elsif ($opt_x =~ m/VC7/ ) + elsif ($opt_x =~ m/VC7/i ) { $DevStudioVer = "7.0"; $VCBuildDir = "VC7"; $ProjectDir = "$XERCESCROOT/Projects/Win32/$VCBuildDir/xerces-all"; } - elsif ($opt_x =~ m/ecl/ || $opt_x =~ m/icl/ ) + elsif ($opt_x =~ m/ecl/i || $opt_x =~ m/icl/i ) { $DevStudioVer = "6.1"; $VCBuildDir = "VC6"; @@ -205,7 +205,7 @@ else { print ("Error: Invalid compilers used \n"); - print ("-x <C++ compiler name> VC6, CV7, ecl and icl \n"); + print ("-x <C++ compiler name> VC6, VC7, ecl and icl \n"); exit(1); }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]