From owner-p4-projects@FreeBSD.ORG Tue Aug 1 13:16:40 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 5368816A4DE; Tue, 1 Aug 2006 13:16:40 +0000 (UTC) X-Original-To: perforce@FreeBSD.org Delivered-To: perforce@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E88C816A4E1 for ; Tue, 1 Aug 2006 13:16:39 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A80EF43D69 for ; Tue, 1 Aug 2006 13:16:33 +0000 (GMT) (envelope-from gabor@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k71DGXKJ086585 for ; Tue, 1 Aug 2006 13:16:33 GMT (envelope-from gabor@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k71DGXPp086582 for perforce@freebsd.org; Tue, 1 Aug 2006 13:16:33 GMT (envelope-from gabor@FreeBSD.org) Date: Tue, 1 Aug 2006 13:16:33 GMT Message-Id: <200608011316.k71DGXPp086582@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to gabor@FreeBSD.org using -f From: Gabor Kovesdan To: Perforce Change Reviews Cc: Subject: PERFORCE change 102920 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Aug 2006 13:16:40 -0000 http://perforce.freebsd.org/chv.cgi?CH=102920 Change 102920 by gabor@gabor_spitfire on 2006/08/01 13:16:04 Shellify make :M substitutions Affected files ... .. //depot/projects/soc2006/gabor_ports/Tools/scripts/do-fetch.sh#13 edit Differences ... ==== //depot/projects/soc2006/gabor_ports/Tools/scripts/do-fetch.sh#13 (text+ko) ==== @@ -44,13 +44,13 @@ if [ -z "$${_MASTER_SITE_SUBDIR_${_group}}" ] ; then MASTER_SITES_TMP= `${ECHO_CMD} $${_MASTER_SITES_${_group}} | ${SED} "s^%SUBDIR%/^^"` else - _S_TEMP_TEMP= $${_MASTER_SITES_${_group}:M*%SUBDIR%/*} + _S_TEMP_TEMP= `${ECHO_CMD} $${_MASTER_SITES_${_group}} | ${TR} ' ' '\n' | ${GREP} *%SUBDIR%/*` if [ -z "${_S_TEMP_TEMP}" ] ; then MASTER_SITES_TMP= $${_MASTER_SITES_${_group}} else MASTER_SITES_TMP= for site in $${_MASTER_SITES_${_group}}; do - _S_TEMP_TEMP= ${site:M*%SUBDIR%/*} + _S_TEMP_TEMP= `${ECHO_CMD} ${site} | ${TR} ' ' '\n' | ${GREP} *%SUBDIR%/*` if [ -z "${_S_TEMP_TEMP}" ] ; then MASTER_SITES_TMP+= ${site} else @@ -66,13 +66,13 @@ fi done if [ -n "${_MASTER_SITE_SUBDIR_DEFAULT}" ] ; then - _S_TEMP= ${_MASTER_SITES_DEFAULT:M*%SUBDIR%/*} + _S_TEMP= `${ECHO_CMD} ${_MASTER_SITES_DEFAULT} | ${TR} ' ' '\n' | ${GREP} *%SUBDIR%/*` if [ -z "${_S_TEMP}" ] ; then MASTER_SITES_TMP= ${_MASTER_SITES_DEFAULT} else MASTER_SITES_TMP= for site in ${_MASTER_SITES_DEFAULT}; do - _S_TEMP_TEMP= ${site:M*%SUBDIR%/*} + _S_TEMP_TEMP= `${ECHO_CMD} ${site} | ${TR} ' ' '\n' | ${GREP} *%SUBDIR%/*` if [ -z "${_S_TEMP_TEMP}" ] ; then MASTER_SITES_TMP+= ${site} else @@ -131,7 +131,7 @@ if [ -n "${_D_TEMP}" ] ; then for _group in `${ECHO_CMD} ${_S_TEMP} | ${SED} -e "s/^://" -e "s/,/ /g"`; do if [ -z "$$}_MASTER_SITES_${_group}}" ] ; then - _G_TEMP_TEMP= ${_G_TEMP:M/${_group}/} + _G_TEMP_TEMP= `${ECHO_CMD} ${_G_TEMP} | ${TR} ' ' '\n' | ${GREP} /${_group}/` if [ -z "${_G_TEMP_TEMP}" ; then _G_TEMP+= ${_group} _MASTER_SITES_ALL+= $${_MASTER_SITES_${_group}} @@ -285,13 +285,13 @@ if [ -n "${_S_TEMP}" } ; then for _group in `${ECHO_CMD} ${_S_TEMP} | ${SED} "s/,/ /g"`; do if [ -z "$${_PATCH_SITE_SUBDIR_${_group}}" ] ; then - _S_TEMP_TEMP= ${_PATCH_SITES_${_group}:M*%SUBDIR%/*} + _S_TEMP_TEMP= `${ECHO_CMD} ${_PATCH_SITES_${_group}} | ${TR} ' ' '\n' | ${GREP} *%SUBDIR%/*` if [ -z "${_S_TEMP_TEMP}" ] ; then PATCH_SITES_TMP= ${_PATCH_SITES_${_group}} else PATCH_SITES_TMP= for site in $${_PATCH_SITES_${_group}}; do - _S_TEMP_TEMP= ${site:M*%SUBDIR%/*} + _S_TEMP_TEMP= `${ECHO_CMD} ${site} | ${TR} ' ' '\n' | ${GREP} *%SUBDIR%/*` if [ -z "${_S_TEMP_TEMP}" ] ; then PATCH_SITES_TMP+= ${site} else @@ -307,13 +307,13 @@ fi done if [ -n "${_PATCH_SITE_SUBDIR_DEFAULT}" ] ; then - _S_TEMP= ${_PATCH_SITES_DEFAULT:M*%SUBDIR%/*} + _S_TEMP= `${ECHO_CMD} ${_PATCH_SITES_DEFAULT} | ${TR} ' ' '\n' | ${GREP} *%SUBDIR%/*` if [ -z "${_S_TEMP}" ] ; then PATCH_SITES_TMP= ${_PATCH_SITES_DEFAULT} else PATCH_SITES_TMP= for site in ${_PATCH_SITES_DEFAULT}; do - _S_TEMP_TEMP= ${site:M*%SUBDIR%/*} + _S_TEMP_TEMP= `${ECHO_CMD} ${site} | ${TR} ' ' '\n' | ${GREP} *%SUBDIR%/*` if [ -z "${_S_TEMP_TEMP}" ] ; then PATCH_SITES_TMP+= ${site} else @@ -335,7 +335,7 @@ if [ -n "${_P_TEMP}" ] ; then for _group in `${ECHO_CMD} ${_P_TEMP} | ${SED} -e "s/^://" -e "s/,/ /g"`; do if [ -z "$${_PATCH_SITES_${_group}}" ] ; then - _G_TEMP_TEMP= ${_G_TEMP:M/${_group}/} + _G_TEMP_TEMP= `${ECHO_CMD} ${_G_TEMP} | ${TR} ' ' '\n' | ${GREP} /${_group}/` if [ -z "${_G_TEMP_TEMP}" ] ; then _G_TEMP+= ${_group} _PATCH_SITES_ALL+= $${_PATCH_SITES_${_group}}