Gentoo Archives: gentoo-commits

From: Richard Farina <zerochaos@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/catalyst:master commit in: targets/support/
Date: Fri, 02 Nov 2012 00:07:41
Message-Id: 1351814376.5ba83b9ac2c024866b9c221fc5026669f769cd32.zerochaos@gentoo
1 commit: 5ba83b9ac2c024866b9c221fc5026669f769cd32
2 Author: Rick Farina (Zero_Chaos) <zerochaos <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 1 23:59:36 2012 +0000
4 Commit: Richard Farina <zerochaos <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 1 23:59:36 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=5ba83b9a
7
8 Revert "Use relative path."
9
10 This reverts commit 7be5b3b53cd0f89f954845ea9fd885a73cc0aedc.
11
12 ---
13 targets/support/functions.sh | 3 ++-
14 1 files changed, 2 insertions(+), 1 deletions(-)
15
16 diff --git a/targets/support/functions.sh b/targets/support/functions.sh
17 index d362ece..af57c10 100644
18 --- a/targets/support/functions.sh
19 +++ b/targets/support/functions.sh
20 @@ -20,7 +20,8 @@ exec_in_chroot(){
21 # and executes it.
22 local file_name=$(basename ${1})
23 local subdir=${2}
24 - local destdir=".${subdir}/tmp"
25 + local destdir=${subdir}/tmp
26 + destdir=${destdir#/}
27
28 copy_to_chroot ${1} ${destdir}
29 chroot_path=${clst_chroot_path}${subdir}