PERFORCE change 102483 for review
Gabor Kovesdan
gabor at FreeBSD.org
Wed Jul 26 18:58:01 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=102483
Change 102483 by gabor at 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'`
More information about the p4-projects
mailing list