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

Diff of /eclass/git.eclass

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

Revision 1.57 Revision 1.58
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/Attic/git.eclass,v 1.57 2011/09/12 12:49:44 mgorny Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/git.eclass,v 1.58 2011/12/14 23:40:18 vapier Exp $
4 4
5# @DEPRECATED 5# @DEPRECATED
6# This eclass has been superseded by git-2 eclass. 6# This eclass has been superseded by git-2 eclass.
7# Please modify your ebuilds to use that one instead. 7# Please modify your ebuilds to use that one instead.
8 8
235 # initial clone, we have to create master git storage directory and play 235 # initial clone, we have to create master git storage directory and play
236 # nicely with sandbox 236 # nicely with sandbox
237 if [[ ! -d ${EGIT_STORE_DIR} ]] ; then 237 if [[ ! -d ${EGIT_STORE_DIR} ]] ; then
238 debug-print "${FUNCNAME}: initial clone. creating git directory" 238 debug-print "${FUNCNAME}: initial clone. creating git directory"
239 addwrite / 239 addwrite /
240 mkdir -p "${EGIT_STORE_DIR}" \ 240 mkdir -m 775 -p "${EGIT_STORE_DIR}" \
241 || die "${EGIT}: can't mkdir ${EGIT_STORE_DIR}." 241 || die "${EGIT}: can't mkdir ${EGIT_STORE_DIR}."
242 export SANDBOX_WRITE="${SANDBOX_WRITE%%:/}" 242 export SANDBOX_WRITE="${SANDBOX_WRITE%%:/}"
243 fi 243 fi
244 244
245 cd -P "${EGIT_STORE_DIR}" || die "${EGIT}: can't chdir to ${EGIT_STORE_DIR}" 245 cd -P "${EGIT_STORE_DIR}" || die "${EGIT}: can't chdir to ${EGIT_STORE_DIR}"

Legend:
Removed from v.1.57  
changed lines
  Added in v.1.58

  ViewVC Help
Powered by ViewVC 1.1.20