SDP-579

ashaikh
Closed
Edge recover script fails to run if p4_vars not sourced first.

The recover_edge.sh SDP script errors out because a variable is accessed before it is declared.

In this case, the following line throws an error:

declare EdgeCheckpointsDir="${CHECKPOINTS}.${SERVERID#p4d_}"

Error:
/p4/common/bin/recover_edge.sh: line 27: CHECKPOINTS: unbound variable
Status
Closed
Project
perforce-software-sdp
Severity
C
Reported By
ashaikh
Reported Date
Modified By
tom_tyler
Modified Date
Owned By
ashaikh
Type
Bug