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 884941381F3 for ; Sat, 22 Jun 2013 15:24:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1FF6DE0B17; Sat, 22 Jun 2013 15:24:37 +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 B75B6E0B17 for ; Sat, 22 Jun 2013 15:24:31 +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 A83AC33E663 for ; Sat, 22 Jun 2013 15:24:20 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 398BAE5466 for ; Sat, 22 Jun 2013 15:24:19 +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: <1371895575.f4f7cc8c19defd199b4282fefc3db09d96c92e94.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: f4f7cc8c19defd199b4282fefc3db09d96c92e94 X-VCS-Branch: master Date: Sat, 22 Jun 2013 15:24:19 +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: 1d49003a-6fdb-4e80-8f83-baf56cda4525 X-Archives-Hash: 323600d324ca66cf416dfc53f79d7d1f commit: f4f7cc8c19defd199b4282fefc3db09d96c92e94 Author: André Erdmann mailerd de> AuthorDate: Sat Jun 22 10:06:15 2013 +0000 Commit: André Erdmann mailerd de> CommitDate: Sat Jun 22 10:06:15 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/R_overlay.git;a=commit;h=f4f7cc8c files/hooks/mux.sh: create temporary directory --- files/hooks/mux.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/files/hooks/mux.sh b/files/hooks/mux.sh index c114db5..298998e 100755 --- a/files/hooks/mux.sh +++ b/files/hooks/mux.sh @@ -8,6 +8,9 @@ set -u . "${FUNCTIONS?}" || exit #dont_run_as_root +# tmpdir should exist (assuming that hooks don't remove this dir) +autodie dodir "${T}" + for hookfile in \ ${FILESDIR}/hooks/${ROVERLAY_PHASE}/?*.sh \ ${FILESDIR}/hooks/?*.${ROVERLAY_PHASE} @@ -26,3 +29,5 @@ do trap - INT TERM EXIT fi done + +rmdir "${T}" 2>>${DEVNULL} || true 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 D7BA41381F3 for ; Sat, 22 Jun 2013 15:14:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 57946E0899; Sat, 22 Jun 2013 15:14:29 +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 B6119E0968 for ; Sat, 22 Jun 2013 15:14:28 +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 B658033E6C5 for ; Sat, 22 Jun 2013 15:14:27 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 57CA8E545C for ; Sat, 22 Jun 2013 15:14:26 +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: <1371895575.f4f7cc8c19defd199b4282fefc3db09d96c92e94.dywi@gentoo> Subject: [gentoo-commits] proj/R_overlay:gsoc13/next 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: f4f7cc8c19defd199b4282fefc3db09d96c92e94 X-VCS-Branch: gsoc13/next Date: Sat, 22 Jun 2013 15:14:26 +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: a1b5aca6-8476-4f6e-865e-cc9f49f2c0db X-Archives-Hash: a4a7c275dd8669d96b47498bec3e87c9 Message-ID: <20130622151426.xdjTUJyUmDt5EmC5cluoTf8onjpJuGKJughgmDnxVxc@z> commit: f4f7cc8c19defd199b4282fefc3db09d96c92e94 Author: André Erdmann mailerd de> AuthorDate: Sat Jun 22 10:06:15 2013 +0000 Commit: André Erdmann mailerd de> CommitDate: Sat Jun 22 10:06:15 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/R_overlay.git;a=commit;h=f4f7cc8c files/hooks/mux.sh: create temporary directory --- files/hooks/mux.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/files/hooks/mux.sh b/files/hooks/mux.sh index c114db5..298998e 100755 --- a/files/hooks/mux.sh +++ b/files/hooks/mux.sh @@ -8,6 +8,9 @@ set -u . "${FUNCTIONS?}" || exit #dont_run_as_root +# tmpdir should exist (assuming that hooks don't remove this dir) +autodie dodir "${T}" + for hookfile in \ ${FILESDIR}/hooks/${ROVERLAY_PHASE}/?*.sh \ ${FILESDIR}/hooks/?*.${ROVERLAY_PHASE} @@ -26,3 +29,5 @@ do trap - INT TERM EXIT fi done + +rmdir "${T}" 2>>${DEVNULL} || true