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 0D2C2138010 for ; Fri, 2 Nov 2012 01:49:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EC75A21C028; Fri, 2 Nov 2012 01:49:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 67B3B21C028 for ; Fri, 2 Nov 2012 01:49:19 +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 A2B2E33D793 for ; Fri, 2 Nov 2012 01:49:18 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 2037DE543C for ; Fri, 2 Nov 2012 01:49:17 +0000 (UTC) From: "Jorge Manuel B. S. Vicetto" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jorge Manuel B. S. Vicetto" Message-ID: <1351820888.0a8d0b5c9fc19ccb56d054e3db53611492e0173f.jmbsvicetto@gentoo> Subject: [gentoo-commits] proj/catalyst:master commit in: targets/support/ X-VCS-Repository: proj/catalyst X-VCS-Files: targets/support/functions.sh X-VCS-Directories: targets/support/ X-VCS-Committer: jmbsvicetto X-VCS-Committer-Name: Jorge Manuel B. S. Vicetto X-VCS-Revision: 0a8d0b5c9fc19ccb56d054e3db53611492e0173f X-VCS-Branch: master Date: Fri, 2 Nov 2012 01:49:17 +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: 731474ec-f879-43f4-9cfa-8fd2c490f125 X-Archives-Hash: 56078d860cfb2af2c3297e607fc9f7b3 commit: 0a8d0b5c9fc19ccb56d054e3db53611492e0173f Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) gentoo org> AuthorDate: Fri Nov 2 01:48:08 2012 +0000 Commit: Jorge Manuel B. S. Vicetto gentoo org> CommitDate: Fri Nov 2 01:48:08 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=0a8d0b5c We need to specify the chroot_path to the chmod call. --- targets/support/functions.sh | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/targets/support/functions.sh b/targets/support/functions.sh index 37fa74a..80e371c 100644 --- a/targets/support/functions.sh +++ b/targets/support/functions.sh @@ -27,10 +27,11 @@ exec_in_chroot(){ copy_to_chroot ${clst_sharedir}/targets/support/chroot-functions.sh \ ${destdir} + chroot_path=${clst_chroot_path}${subdir} + echo "Ensure the file has the executable bit set" - chmod +x ${destdir}/${file_name} + chmod +x ${chroot_path}/${destdir}/${file_name} - chroot_path=${clst_chroot_path}${subdir} echo "Running ${file_name} in chroot ${chroot_path}" ${clst_CHROOT} ${chroot_path} ${destdir}/${file_name} || exit 1