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 6995E1387B3 for ; Fri, 3 Jan 2014 06:12:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4B9ACE0A76; Fri, 3 Jan 2014 06:12:31 +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 9C385E0A76 for ; Fri, 3 Jan 2014 06:12:30 +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 BB24133F5E1 for ; Fri, 3 Jan 2014 06:12:29 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 1B0ABE5533 for ; Fri, 3 Jan 2014 06:12:28 +0000 (UTC) From: "Brian Dolbec" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" Message-ID: <1388727686.70d5dadad7a83fb9c7b851d548e28b2632d82f43.dol-sen@gentoo> Subject: [gentoo-commits] proj/catalyst:pending commit in: targets/support/ X-VCS-Repository: proj/catalyst X-VCS-Files: targets/support/functions.sh X-VCS-Directories: targets/support/ X-VCS-Committer: dol-sen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: 70d5dadad7a83fb9c7b851d548e28b2632d82f43 X-VCS-Branch: pending Date: Fri, 3 Jan 2014 06:12:28 +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: 57bddbe3-ccab-4476-910f-8463a99a8cf8 X-Archives-Hash: 6ffe7ed462541223f8e7d8289e788512 commit: 70d5dadad7a83fb9c7b851d548e28b2632d82f43 Author: Brian Dolbec gentoo org> AuthorDate: Tue Dec 17 06:27:04 2013 +0000 Commit: Brian Dolbec gmail com> CommitDate: Fri Jan 3 05:41:26 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=70d5dada Fix a relative path bug --- targets/support/functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/targets/support/functions.sh b/targets/support/functions.sh index 80e371c..3245862 100644 --- a/targets/support/functions.sh +++ b/targets/support/functions.sh @@ -20,7 +20,7 @@ exec_in_chroot(){ # and executes it. local file_name=$(basename ${1}) local subdir=${2} - local destdir=".${subdir}/tmp" + local destdir="${subdir}/tmp" echo "Copying ${file_name} to ${destdir}" copy_to_chroot ${1} ${destdir} @@ -33,7 +33,7 @@ exec_in_chroot(){ chmod +x ${chroot_path}/${destdir}/${file_name} echo "Running ${file_name} in chroot ${chroot_path}" - ${clst_CHROOT} ${chroot_path} ${destdir}/${file_name} || exit 1 + ${clst_CHROOT} ${chroot_path} .${destdir}/${file_name} || exit 1 delete_from_chroot ${destdir}/${file_name} delete_from_chroot ${destdir}/chroot-functions.sh