Change 20382

tom_tyler (C. Thomas Tyler)
C. Thomas Tyler committed this change into / under Review 20380
View Review
Download .zip
Tweaks to supplemental (non-core SDP) scripts p4u_env.sh, libcore.sh, template.sh:
* Fixed bug relying on $USER, which is not guaranteed to be defined,
  preventing errors in unusual situations where it is not defined.
* Streamlined temp file management, adding new P4U_TMPDIR directory,
  which is cleaned up automatically.  It uses /dev/shm if available,
  otherwise 'mktemp -d'.
* runCmd() and runRemoteCmd() now clean up temp files as they goes.
* Added new 'captureOutputFlag' parameter to runRemoteCmd(), with
  similar semantics as with the same parameter in runCmd().
* Updated template.sh to illustrate new parameter in runRemoteCmd().
  • Files 3
  • Comments 0
3 edited 0 added 0 deleted
guest/perforce_software/sdp/dev/Server/Unix/p4/common/bin/template.sh#7
Loading...
guest/perforce_software/sdp/dev/Server/Unix/p4/common/lib/libcore.sh#5
Loading...
guest/perforce_software/sdp/dev/Server/Unix/p4/common/lib/p4u_env.sh#4
Loading...
Tip: Use n and p to cycle through the changes.