Lines Matching refs:proto
65 # Return a valid proto area, if one exists.
75 proto=`echo $1|fmtwsname`
76 echo "${proto}/root_${MACH}"
78 proto=$1
80 # If the proto is a local repository then we can use it
81 # to point to the parents proto area. Don't bother to
85 if [[ "${proto##ssh://}" == "$proto" && \
86 "${proto##http://}" == "$proto" && \
87 "${proto##https://}" == "$proto" ]]; then
88 echo "${proto}/root_${MACH}"
104 unset setenv osbld_flag os_rev wsosdir protofile wsname ofs proto \
250 echo "Unable to create the proto defaults file ($protofile)."
264 # Set default proto areas for this workspace
272 # PROTO1 is the first proto area searched and is typically set
273 # to a proto area associated with the workspace. The ROOT
275 # will be doing make installs this proto area needs to be writable.
277 # PROTO2 and PROTO3 are set to proto areas to search before the
278 # search proceeds to the local machine or the proto area specified by
286 PROTO1=\$CODEMGR_WS/proto
294 # point to the parents proto space.
298 PROTO2=\$parent/proto
306 [[ -n \$(check_proto \$parent/proto) ]] && PROTO2=\$parent/proto
321 ROOT=/proto/root_${MACH} # default
332 if [[ -n "$PROTO1" ]]; then # first proto area specifed
340 if [[ -n "$PROTO2" ]]; then # second proto area specifed
347 if [[ -n "$PROTO3" ]]; then # third proto area specifed
380 # This should point to the parent's proto
408 echo "Parent proto area (\$PARENT_ROOT) : $PARENT_ROOT"