Dag-Erling Smørgrav <[email protected]> writes:
> Index: release/Makefile
> ===================================================================
> --- release/Makefile.orig
> +++ release/Makefile
> @@ -56,10 +56,10 @@
>  .for _V in ${TARGET_ARCH}
>  .if !empty(TARGET:M${_V})
>  OSRELEASE=   ${TYPE}-${REVISION}-${BRANCH}-${TARGET}
> -VOLUME_LABEL=        ${REVISION:C/\./_/g:}_${BRANCH}_${TARGET}
> +VOLUME_LABEL=        ${REVISION:C/[-\.]/_/g:}_${BRANCH}_${TARGET}
>  .else
>  OSRELEASE=   ${TYPE}-${REVISION}-${BRANCH}-${TARGET}-${TARGET_ARCH}
> -VOLUME_LABEL=        ${REVISION:C/\./_/g:}_${BRANCH}_${TARGET_ARCH}
> +VOLUME_LABEL=        ${REVISION:C/[-\.]/_/g:}_${BRANCH}_${TARGET_ARCH}
>  .endif
>  .endfor
>  .endif

Wait, this isn't right.  You have to apply the same transformation to
${BRANCH}.

DES
-- 
Dag-Erling Smørgrav - [email protected]
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to