declare Version=2.1.3 #============================================================================== # 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/view/p4bbi/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 | |
---|---|---|---|---|---|
#2 | 30973 | C. Thomas Tyler |
Adapting to new home in //p4bbi stream depot. Mostly minor changes to doc links. More significant changes we needed for package_downloads.sh. |
||
#1 | 30968 | C. Thomas Tyler |
Migration from Classic to Streams with: p4 copy -b P4BBI_Classic_to_Streams |
||
//guest/perforce_software/p4bbi/main/lib/libp4u.sh | |||||
#2 | 18422 | C. Thomas Tyler | Corrected push from dev. | ||
#1 | 11814 | C. Thomas Tyler | Copy up for dev for release of p4bbi.2015.2.11812. | ||
//guest/perforce_software/p4bbi/dev/lib/libp4u.sh | |||||
#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. |