Date: Wed, 26 Jul 2006 18:57:45 GMT From: Gabor Kovesdan <gabor@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 102483 for review Message-ID: <200607261857.k6QIvjYw053366@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=102483 Change 102483 by gabor@gabor_spitfire on 2006/07/26 18:57:24 Remove two hackery. These were to pass some pieces of data thorugh _ENV variables to the do-fetch target. This is don't needed anymore since they are set in the script itself. Affected files ... .. //depot/projects/soc2006/gabor_ports/Tools/scripts/do-fetch.sh#7 edit Differences ... ==== //depot/projects/soc2006/gabor_ports/Tools/scripts/do-fetch.sh#7 (text+ko) ==== @@ -176,23 +176,6 @@ fi done -### FIXME: those should be convert to be done in this script itself -# -# Hackery to enable simple fetch targets with several dynamic MASTER_SITES -# -_MASTER_SITES_ENV= _MASTER_SITES_DEFAULT="${_MASTER_SITES_DEFAULT}" -.for _F in ${DISTFILES} -_F_TEMP= ${_F:S/^${_F:C/:[^:]+$//}//:S/^://} -. if !empty(_F_TEMP) -. for _group in `${ECHO_CMD} ${_F_TEMP} | ${SED} "s/,/ /g"`; do -. if defined(_MASTER_SITES_${_group}) -_MASTER_SITES_ENV+= _MASTER_SITES_${_group}="${_MASTER_SITES_${_group}}" -. endif -. endfor -. endif -.endfor - -${_MASTER_SITES_ENV} for _file in ${DISTFILES}; do file=`${ECHO_CMD} $_file | ${SED} -E -e 's/:[^:]+$//'` select=`${ECHO_CMD} ${_file#${file}} | ${SED} -e 's/^://' -e 's/,/ /g'` @@ -374,22 +357,7 @@ fi done -### FIXME: this should be convert to be done in this script itself - -_PATCH_SITES_ENV= _PATCH_SITES_DEFAULT="${_PATCH_SITES_DEFAULT}" -.for _F in ${PATCHFILES} -_F_TEMP= ${_F:S/^${_F:C/:[^:]+$//}//:S/^://} -. if !empty(_F_TEMP) -. for _group in `${ECHO_CMD} ${_F_TEMP} | ${SED} "s/,/ /g"`; do -. if defined(_PATCH_SITES_${_group}) -_PATCH_SITES_ENV+= _PATCH_SITES_${_group}="${_PATCH_SITES_${_group}}" -. endif -. endfor -. endif -.endfor - cd ${_DISTDIR} - ${_PATCH_SITES_ENV} for _file in ${PATCHFILES}; do file=`${ECHO_CMD} $_file | ${SED} -E -e 's/:[^:]+$$//'` select=`${ECHO_CMD} ${_file#${file}} | ${SED} -e 's/^://' -e 's/,/ /g'`
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607261857.k6QIvjYw053366>