#!/p4/common/perl/bin/perl -w use strict; my $Log="$ENV{CBD_HOME}/logs/sbi.log"; my $Output; open (LOG, ">$Log") or die "\nError: Log is bogus!\n"; while (<STDIN>) { print LOG; } close (LOG); $Output = `/bin/cat $Log 2>&1`; print "action: REJECT\n"; print "message: \"$Output\"\n"; exit (1);
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#2 | 15010 | C. Thomas Tyler | Merged CBD updates to ntx64 branch from main. | ||
#1 | 13801 | C. Thomas Tyler | Populate -b perforce_software-cbd-ntx64. | ||
//guest/perforce_software/cbd/main/scripts/sbi.pl | |||||
#1 | 13774 | C. Thomas Tyler |
Added 'p4 sbi' command - 'Show Broker Input', a debugging utility to see how the broker sees your command from its perspective. |