sbi_win.pl #3

  • //
  • guest/
  • perforce_software/
  • cbd/
  • dev/
  • scripts/
  • sbi_win.pl
  • View
  • Commits
  • Open Download .zip Download (282 B)
#!perl -w

use strict;

my $Log="C:\\p4\\CBDTest\\logs\\sbi.log";
my $Output;

open (LOG, ">$Log") or die "\nError: Log is bogus!\n";

while (<STDIN>) {
   print LOG;
}

close (LOG);

$Output = `TYPE $Log 2>&1`;

print "action: REJECT\n";
print "message: \"$Output\"\n";

exit (1);
# Change User Description Committed
#3 15152 C. Thomas Tyler Routine Merge Down to dev from main for CBD, using:
p4 merge -b perforce_software-cbd-dev
#2 15040 C. Thomas Tyler chmod +x.
#1 15008 C. Thomas Tyler Merge down from CBD mainline.
//guest/perforce_software/cbd/main/scripts/sbi_win.pl
#1 13835 C. Thomas Tyler Added Windows support for server-side components.
These changes should not interfere with Linux operation.
Includes:
* Sample Windows broker config file.
* Windows batch file wrapper scripts.
* Code changes to support minor variations for
Windows and Linux SDP.
* Some defensive coding to avoid an exception to avoid
processing a Classic workspace.
//guest/perforce_software/cbd/ntx64/scripts/sbi_win.pl
#1 13812 C. Thomas Tyler Ported 'p4 sbi' utility  to Windows.