Gentoo Archives: gentoo-dev

From: Alex Xu <alex_y_xu@×××××.ca>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFC: Update to elisp-common.eclass
Date: Mon, 19 May 2014 10:29:09
Message-Id: 5379DCD5.9050408@yahoo.ca
In Reply to: [gentoo-dev] RFC: Update to elisp-common.eclass by Ulrich Mueller
1 On 18/05/14 02:13 PM, Ulrich Mueller wrote:
2 > if [[ ${EBUILD_PHASE} = *rm && ! -e ${sitelisp}/site-gentoo.el ]]; then
3 > ewarn "Refusing to create site-gentoo.el in ${EBUILD_PHASE} phase."
4 > return 0
5 > fi
6 >
7 > + [[ -d ${sitelisp} ]] \
8 > + || die "elisp-site-regen: Directory ${sitelisp} does not exist"
9 > +
10 > + [[ -d ${T} ]] \
11 > + || die "elisp-site-regen: Temporary directory ${T} does not exist"
12 > +
13 !qefs
14
15 if ROOT, EPREFIX, or SITELISP has whitespace, this will throw a syntax
16 error.

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] RFC: Update to elisp-common.eclass Ulrich Mueller <ulm@g.o>