Project

General

Profile

« Previous | Next » 

Revision b06e79a6

Added by Renato Botelho almost 4 years ago

Followup e324755bee, combine sed and add g flag

View differences:

tools/builder_defaults.sh
222 222
export POUDRIERE_PORTS_GIT_BRANCH=${POUDRIERE_PORTS_GIT_BRANCH:-"${REPO_BRANCH_PREFIX}devel"}
223 223

  
224 224
# Use vX_Y instead of RELENG_X_Y for poudriere to make it shorter
225
POUDRIERE_PORTS_BRANCH=$(echo "${POUDRIERE_PORTS_GIT_BRANCH}" | sed 's,RELENG_,v,' | sed 's,-,_,')
225
POUDRIERE_PORTS_BRANCH=$(echo "${POUDRIERE_PORTS_GIT_BRANCH}" | sed 's,RELENG_,v,; s,-,_,g')
226 226

  
227 227
export POUDRIERE_PORTS_NAME=${POUDRIERE_PORTS_NAME:-"${PRODUCT_NAME}_${POUDRIERE_PORTS_BRANCH}"}
228 228

  

Also available in: Unified diff