From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1J0QVI-0000FK-BJ for garchives@archives.gentoo.org; Thu, 06 Dec 2007 23:51:40 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.2/8.14.0) with SMTP id lB6NoCFb007140; Thu, 6 Dec 2007 23:50:12 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.14.2/8.14.0) with ESMTP id lB6NkusK002324 for ; Thu, 6 Dec 2007 23:46:56 GMT Received: from gentoo.org (c-67-171-150-177.hsd1.or.comcast.net [67.171.150.177]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id EC25765416; Thu, 6 Dec 2007 23:46:55 +0000 (UTC) Date: Thu, 6 Dec 2007 15:46:54 -0800 From: Donnie Berkholz To: gentoo-dev@lists.gentoo.org, lack@gentoo.org Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in rox-base/rox-clib: ChangeLog rox-clib-2.1.10.ebuild Message-ID: <20071206234654.GW29076@supernova> References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) X-Archives-Salt: 6d7153cc-bd38-4101-a310-f0f398160cad X-Archives-Hash: bc348b445b39f34962474eea2d014166 On 15:53 Thu 06 Dec , Jim Ramsay (lack) wrote: > 1.1 rox-base/rox-clib/rox-clib-2.1.10.ebuild > > file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/rox-base/rox-clib/rox-clib-2.1.10.ebuild?rev=1.1&view=markup > plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/rox-base/rox-clib/rox-clib-2.1.10.ebuild?rev=1.1&content-type=text/plain > src_install() { > local baselibdir="/usr/$(get_libdir)" > local NATIVE_FEED_DIR="/usr/share/0install.net/native_feeds" > local ICON_CACHE_DIR="/var/cache/0install.net/interface_icons" > > # clean up source instead of remove it! > ( cd src && make clean ) > > # remove silly .cvs files > find . -name '.cvs*' | xargs rm -f >/dev/null 2>&1 > dodoc ${baselibdir}/${APPNAME} > dodir ${baselibdir}/${APPNAME} > cp -r . "${D}${baselibdir}/${APPNAME}" > ( > cd Help > dodoc Authors Changes ToDo README Versions > ) Instead of these subshells to save the original directory, a more common technique is pushd/popd. Another possibility is 'cd foo; stuff; cd -', but that doesn't stack. > 0distutils ROX-CLib.xml > tmp.native_feed || die "0distutilss feed edit failed" > insinto "${baselibdir}/ROX-CLib/" > newins tmp.native_feed ROX-CLib.xml > > local feedname > feedname=$(0distutils -e tmp.native_feed) || "0distutils URI escape failed" > dosym "${baselibdir}/ROX-CLib/ROX-CLib.xml" "${NATIVE_FEED_DIR}/${feedname}" > > local cachedname > cachedname=$(0distutils -c tmp.native_feed) || "0distutils URI escape failed" > dosym "${baselibdir}/ROX-CLib/.DirIcon" "${ICON_CACHE_DIR}/${cachedname}" > > } Thanks, Donnie -- gentoo-dev@gentoo.org mailing list