/[gentoo-x86]/eclass/git-2.eclass
Gentoo

Diff of /eclass/git-2.eclass

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

Revision 1.7 Revision 1.8
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 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/git-2.eclass,v 1.7 2011/05/20 14:35:01 scarabeus Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/git-2.eclass,v 1.8 2011/05/20 15:32:54 scarabeus Exp $
4 4
5# @ECLASS: git-2.eclass 5# @ECLASS: git-2.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Tomas Chvatal <scarabeus@gentoo.org> 7# Tomas Chvatal <scarabeus@gentoo.org>
8# @BLURB: Eclass for fetching and unpacking git repositories. 8# @BLURB: Eclass for fetching and unpacking git repositories.
236 addwrite / 236 addwrite /
237 mkdir -p "${EGIT_STORE_DIR}" \ 237 mkdir -p "${EGIT_STORE_DIR}" \
238 || die "${FUNCNAME}: can't mkdir \"${EGIT_STORE_DIR}\"" 238 || die "${FUNCNAME}: can't mkdir \"${EGIT_STORE_DIR}\""
239 fi 239 fi
240 240
241 cd -P "${EGIT_STORE_DIR}" \
242 || die "${FUNCNAME}: can't chdir to \"${EGIT_STORE_DIR}\""
243 # allow writing into EGIT_STORE_DIR 241 # allow writing into EGIT_STORE_DIR
244 addwrite "${EGIT_STORE_DIR}" 242 addwrite "${EGIT_STORE_DIR}"
245 # calculate the proper store dir for data 243 # calculate the proper store dir for data
246 # If user didn't specify the EGIT_DIR, we check if he did specify 244 # If user didn't specify the EGIT_DIR, we check if he did specify
247 # the EGIT_PROJECT or get the folder name from EGIT_REPO_URI. 245 # the EGIT_PROJECT or get the folder name from EGIT_REPO_URI.

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.20