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 79355138247 for ; Thu, 2 Jan 2014 00:04:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 52801E0AAA; Thu, 2 Jan 2014 00:04:22 +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 9AC5BE0AA8 for ; Thu, 2 Jan 2014 00:04:21 +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 B788533F6F9 for ; Thu, 2 Jan 2014 00:04:20 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 4065CE54FB for ; Thu, 2 Jan 2014 00:04:19 +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: <1388620543.ffedd9d80e89dd24dfe1a4422eb8b3c72b5f6229.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: ffedd9d80e89dd24dfe1a4422eb8b3c72b5f6229 X-VCS-Branch: pending Date: Thu, 2 Jan 2014 00:04: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: c7260094-017b-4e08-9d50-23a7dc9c49e2 X-Archives-Hash: 2c2050397663e70e048b7afeca43bf42 commit: ffedd9d80e89dd24dfe1a4422eb8b3c72b5f6229 Author: Brian Dolbec gentoo org> AuthorDate: Tue Dec 17 06:27:04 2013 +0000 Commit: Brian Dolbec gmail com> CommitDate: Wed Jan 1 23:55:43 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=ffedd9d8 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