SDP-698

tom_tyler (C. Thomas Tyler)
C. Thomas Tyler created this job , modified by swarm-user
Closed
p4verify.sh no longer relies on $USER being defined.

When called from the crontab in some environments, the USER variable
was not defined. This resulted in a failure during early processing,
and no verifications were attempted.
28144Fixed issue operating in environments where the shell USER variable is not
defined. The current USER is now determined with 'id -u -n'.

Also silenced a harmless ShellCheck warning.
28143Fixed issue operating in environments where the shell USER variable is not
defined. The current USER is now determined with 'id -n -u'.

Also silenced a harmless ShellCheck warning.

#review-28144
  • Details
  • Comments -
Status
Closed
Project
perforce-software-sdp
Severity
C
Reported By
C. Thomas Tyler
Reported Date
Modified By
swarm-user
Modified Date
Owned By
tom_tyler
Component
core-unix
Type
Bug