Change 22628

tom_tyler (C. Thomas Tyler)
C. Thomas Tyler committed this change into / under Review 22629
View Review
Download .zip
Fixed minor order-of-processing bug resulting in a harmless error
appearing at the end of script processing as cleanTrash() was
called to clean garbage files.  The run() function was called to
clean garbage files/dirs just as a directory that function depended
on got cleaned up.

The fix was applied to scripts that used libcore.sh, including the
template.sh template script.

Also corrected comments in p4u_env.sh.

Bypassing pre-commit review as this has been well tested.

#review-22629
  • Files 6
  • Comments 0
6 edited 0 added 0 deleted
guest/perforce_software/sdp/dev/Server/Unix/p4/common/bin/global_replica_status.sh#6
Loading...
guest/perforce_software/sdp/dev/Server/Unix/p4/common/bin/mkrep.sh#11
Loading...
guest/perforce_software/sdp/dev/Server/Unix/p4/common/bin/sdp_sync.sh#19
Loading...
guest/perforce_software/sdp/dev/Server/Unix/p4/common/bin/template.sh#10
Loading...
guest/perforce_software/sdp/dev/Server/Unix/p4/common/lib/libcore.sh#12
Loading...
guest/perforce_software/sdp/dev/Server/Unix/p4/common/lib/p4u_env.sh#9
Loading...
Tip: Use n and p to cycle through the changes.