From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 0D62B138010 for ; Sun, 24 Mar 2013 08:34:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AAFAFE068E; Sun, 24 Mar 2013 08:34:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3D8A4E068E for ; Sun, 24 Mar 2013 08:34:07 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 56AA333BF5F for ; Sun, 24 Mar 2013 08:34:06 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id D36FAE4073 for ; Sun, 24 Mar 2013 08:34:04 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1364114019.7c6fa447d67dd8d047901d2a42dffb91b6715832.grobian@gentoo> Subject: [gentoo-commits] proj/portage:prefix commit in: bin/ X-VCS-Repository: proj/portage X-VCS-Files: bin/save-ebuild-env.sh X-VCS-Directories: bin/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 7c6fa447d67dd8d047901d2a42dffb91b6715832 X-VCS-Branch: prefix Date: Sun, 24 Mar 2013 08:34:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 78bc9c70-58c2-4188-8e1d-96c420416d20 X-Archives-Hash: cc4c04253d33fb65f70175c51cbccd7f commit: 7c6fa447d67dd8d047901d2a42dffb91b6715832 Author: Fabian Groffen gentoo org> AuthorDate: Sun Mar 24 08:33:39 2013 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Sun Mar 24 08:33:39 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=7c6fa447 __save_ebuild_env: avoid calling compgen when it doesn't exist --- bin/save-ebuild-env.sh | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/bin/save-ebuild-env.sh b/bin/save-ebuild-env.sh index 2a244b5..f7c7321 100644 --- a/bin/save-ebuild-env.sh +++ b/bin/save-ebuild-env.sh @@ -85,7 +85,8 @@ __save_ebuild_env() { ___eapi_has_package_manager_build_user && unset -f package_manager_build_user ___eapi_has_package_manager_build_group && unset -f package_manager_build_group - unset -f $(compgen -A function ___eapi_) + # PREFIX: compgen is not compiled in during bootstrap + type compgen > /dev/null && unset -f $(compgen -A function ___eapi_) # portage config variables and variables set directly by portage unset ACCEPT_LICENSE BAD BRACKET BUILD_PREFIX COLS \