declare Version=2.1.2 #============================================================================== # Copyright and license info is available in the LICENSE file included with # the Server Deployment Package (SDP), and also available online: # https://swarm.workshop.perforce.com/projects/perforce-software-sdp/view/main/LICENSE #------------------------------------------------------------------------------ #============================================================================== # Library Functions. #------------------------------------------------------------------------------ # Function: getLocalPath # # Input: # $1 - p4Path in depot or client syntax, e.g. "//depot/main/foo.c" # # Usage Example: localPath=$(getLocalPath "//depot/main/foo.c") #------------------------------------------------------------------------------ function getLocalPath { declare p4Path=$1 declare localPath [[ -n "$p4Path" ]] || return localPath=$(p4 -ztag where "$p4Path"|grep "^\.\.\. path"|tail -1) localPath=${localPath#... path } localPath=${localPath%\/\.\.\.} echo -n $localPath }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#3 | 15961 | C. Thomas Tyler |
Routine Merge Down to dev from main using: p4 merge -b perforce-software-p4bbi-dev |
||
#2 | 13589 | C. Thomas Tyler | Merged updates to lib files from SDP. | ||
#1 | 11784 | C. Thomas Tyler |
Refactored bash libriaries. Added bbi_actions.lib to hold the BBI functionality. Branched 3 bash library files from the SDP, removing the SDP dependency. Enhanced docs. |
||
//guest/perforce_software/sdp/main/Server/Unix/p4/common/lib/libp4u.sh | |||||
#1 | 10148 | C. Thomas Tyler | Promoted the Perforce Server Deployment Package to The Workshop. |