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

Diff of /eclass/multilib.eclass

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

Revision 1.6 Revision 1.7
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 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/multilib.eclass,v 1.6 2005/01/13 00:43:41 eradicator Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/multilib.eclass,v 1.7 2005/01/13 00:48:39 eradicator Exp $
4# 4#
5# Author: Jeremy Huddleston <eradicator@gentoo.org> 5# Author: Jeremy Huddleston <eradicator@gentoo.org>
6# 6#
7# This eclass is for all functions pertaining to handling multilib. 7# This eclass is for all functions pertaining to handling multilib.
8# configurations. 8# configurations.
355 355
356# Helper function for create_ml_includes 356# Helper function for create_ml_includes
357create_ml_includes-allfiles() { 357create_ml_includes-allfiles() {
358 local basedirs=${@} 358 local basedirs=${@}
359 359
360 local files 360 local basedir
361 for basedir in ${basedirs}; do 361 for basedir in ${basedirs}; do
362 local file 362 local file
363 for file in $(find ${D}/${basedir} -type f); do 363 for file in $(find ${D}/${basedir} -type f); do
364 echo ${file/${D}\/${basedir}\//} 364 echo ${file/${D}\/${basedir}\//}
365 done 365 done
375 if [ "${dir}" = "${data/*:/}" ]; then 375 if [ "${dir}" = "${data/*:/}" ]; then
376 echo ${data/:*/} 376 echo ${data/:*/}
377 return 0 377 return 0
378 fi 378 fi
379 done 379 done
380 echo "Should be here -- create_ml_includes-sym_for_dir ${1} ${@}" 380 echo "Shouldn't be here -- create_ml_includes-sym_for_dir ${1} ${@}"
381 # exit because we'll likely be called from a subshell 381 # exit because we'll likely be called from a subshell
382 exit 1 382 exit 1
383} 383}

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

  ViewVC Help
Powered by ViewVC 1.1.20