Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Aug 2006 09:12:35 GMT
From:      Gabor Kovesdan <gabor@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 103104 for review
Message-ID:  <200608030912.k739CZB3001704@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=103104

Change 103104 by gabor@gabor_spitfire on 2006/08/03 09:11:57

	- Pass MASTER_SITES and MASTER_SITE_SUBDIR to the script via
	  FETCH_SCRIPT_ENV
	- Fix typo in do-fetch.sh

Affected files ...

.. //depot/projects/soc2006/gabor_ports/Mk/bsd.port.mk#71 edit
.. //depot/projects/soc2006/gabor_ports/Tools/scripts/do-fetch.sh#17 edit

Differences ...

==== //depot/projects/soc2006/gabor_ports/Mk/bsd.port.mk#71 (text+ko) ====

@@ -2146,6 +2146,7 @@
 FETCH_SCRIPT_ENV?=	AWK="${AWK}" BASENAME="${BASENAME}" ECHO_CMD="${ECHO_CMD}" ECHO_MSG="${ECHO_MSG}" \
 			GREP="${GREP}" MKDIR="${MKDIR}" SED="${SED}" SETENV="${SETENV}" TR="${TR}" \
 			FETCH_CMD="${FETCH_CMD}" \
+			MASTER_SITES="${MASTER_SITES}" MASTER_SITE_SUBDIR="${MASTER_SITE_SUBDIR}" \
 			FETCH_BEFORE_ARGS="${FETCH_BEFORE_ARGS}" FETCH_AFTER_ARGS="${FETCH_AFTER_ARGS}" \
 			_DISTDIR="${_DISTDIR}" DIST_SUBDIR="${DIST_SUBDIR}" DISTFILES="${DISTFILES}" \
 			FORCE_FETCH="${FORCE_FETCH}" NO_CHECKSUM="${NO_CHECKSUM}" MD5_FILE="${MD5_FILE}" \

==== //depot/projects/soc2006/gabor_ports/Tools/scripts/do-fetch.sh#17 (text+ko) ====

@@ -2,7 +2,7 @@
 cd ${_DISTDIR}
 
 for _S in ${MASTER_SITES}; do
-	__TMP=	`${ECHO_CMD} ${_S} | ${SED} "s@/:[^/:]+$@/@}"`
+	__TMP=	`${ECHO_CMD} ${_S} | ${SED} "s@/:[^/:]+$@/@"`
 	_S_TEMP=	`${ECHO_CMD} ${_S} | ${SED} -e "s/^${__TMP}//" -e "/^://"`
 	if [ -n "${_S_TEMP}" ] ; then
 		for _group in `${ECHO_CMD} ${_S_TEMP} | ${SED} "s/,/ /g"`; do



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608030912.k739CZB3001704>