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 E57FA1381F3 for ; Wed, 4 Sep 2013 10:16:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 63A11E0D5D; Wed, 4 Sep 2013 10:16:41 +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 03D46E0D5D for ; Wed, 4 Sep 2013 10:16:40 +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 0B78F33EAE5 for ; Wed, 4 Sep 2013 10:16:40 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 6E482E5465 for ; Wed, 4 Sep 2013 10:16:37 +0000 (UTC) From: "André Erdmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "André Erdmann" Message-ID: <1378289747.f5b3a78b841a9ae0536a10fe0ccbebfe8aca572c.dywi@gentoo> Subject: [gentoo-commits] proj/R_overlay:master commit in: files/hooks/ X-VCS-Repository: proj/R_overlay X-VCS-Files: files/hooks/mux.sh X-VCS-Directories: files/hooks/ X-VCS-Committer: dywi X-VCS-Committer-Name: André Erdmann X-VCS-Revision: f5b3a78b841a9ae0536a10fe0ccbebfe8aca572c X-VCS-Branch: master Date: Wed, 4 Sep 2013 10:16:37 +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: b01ee243-e429-413a-bee1-16c0b5e7a67f X-Archives-Hash: 5a3ba66746083307249785aa1e054857 commit: f5b3a78b841a9ae0536a10fe0ccbebfe8aca572c Author: André Erdmann mailerd de> AuthorDate: Wed Sep 4 10:15:47 2013 +0000 Commit: André Erdmann mailerd de> CommitDate: Wed Sep 4 10:15:47 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/R_overlay.git;a=commit;h=f5b3a78b files/hook/mux: load ROVERLAY_HOOKRC ... before running the actual hooks --- files/hooks/mux.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/files/hooks/mux.sh b/files/hooks/mux.sh index 40833c6..80bff31 100755 --- a/files/hooks/mux.sh +++ b/files/hooks/mux.sh @@ -14,6 +14,13 @@ export LC_CTYPE . "${FUNCTIONS?}" || exit #dont_run_as_root + +## load $ROVERLAY_HOOKRC (if set) +if [ -n "${ROVERLAY_HOOKRC-}" ]; then + . "${ROVERLAY_HOOKRC}" || \ + die "failed to load ROVERLAY_HOOKRC (${ROVERLAY_HOOKRC})." +fi + # tmpdir should exist (assuming that hooks don't remove this dir) autodie dodir "${T}"