/[gentoo-x86]/eclass/cvs.eclass
Gentoo

Diff of /eclass/cvs.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.67 Revision 1.68
1# Copyright 1999-2006 Gentoo Foundation 1# Copyright 1999-2006 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/cvs.eclass,v 1.67 2006/12/11 00:11:46 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/cvs.eclass,v 1.68 2006/12/11 00:16:28 vapier Exp $
4# 4#
5# Maintainer: vapier@gentoo.org (and anyone who wants to help) 5# Maintainer: vapier@gentoo.org (and anyone who wants to help)
6 6
7inherit eutils 7inherit eutils
8 8
486 486
487 if [ -z "$ECVS_LOCALNAME" ]; then 487 if [ -z "$ECVS_LOCALNAME" ]; then
488 ECVS_LOCALNAME="$ECVS_MODULE" 488 ECVS_LOCALNAME="$ECVS_MODULE"
489 fi 489 fi
490 490
491 local sanitized_pn=$(echo "${PN}" | LC_ALL=C sed -e 's:[^A-Za-z0-9_]:_:g')
491 local offline_pkg_var="ECVS_OFFLINE_${PN}" 492 local offline_pkg_var="ECVS_OFFLINE_${sanitized_pn}"
492 if [ "${!offline_pkg_var}" == "1" -o "$ECVS_OFFLINE" == "1" -o "$ECVS_SERVER" == "offline" ]; then 493 if [ "${!offline_pkg_var}" == "1" -o "$ECVS_OFFLINE" == "1" -o "$ECVS_SERVER" == "offline" ]; then
493 # We're not required to fetch anything; the module already 494 # We're not required to fetch anything; the module already
494 # exists and shouldn't be updated. 495 # exists and shouldn't be updated.
495 if [ -d "${ECVS_TOP_DIR}/${ECVS_LOCALNAME}" ]; then 496 if [ -d "${ECVS_TOP_DIR}/${ECVS_LOCALNAME}" ]; then
496 debug-print "$FUNCNAME: offline mode" 497 debug-print "$FUNCNAME: offline mode"

Legend:
Removed from v.1.67  
changed lines
  Added in v.1.68

  ViewVC Help
Powered by ViewVC 1.1.20