FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Development

 
 
LinkBack Thread Tools
 
Old 02-05-2012, 04:21 AM
Mike Frysinger
 
Default unpacker.eclass and base.eclass integration

follow up: have base.eclass leverage unpacker.eclass when it's available
-mike

--- base.eclass 14 Dec 2011 23:38:09 -0000 1.55
+++ base.eclass 5 Feb 2012 05:19:28 -0000
@@ -59,7 +59,11 @@ base_src_unpack() {

pushd "${WORKDIR}" > /dev/null

- [[ -n "${A}" ]] && unpack ${A}
+ if [[ $(type -t unpacker_src_unpack) == "function" ]] ; then
+ unpacker_src_unpack
+ elif [[ -n ${A} ]] ; then
+ unpack ${A}
+ fi
has src_prepare ${BASE_EXPF} || base_src_prepare

popd > /dev/null
 

Thread Tools




All times are GMT. The time now is 07:07 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org