Gentoo Archives: gentoo-commits

From: Brian Dolbec <brian.dolbec@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/catalyst:pending commit in: targets/support/
Date: Fri, 03 Jan 2014 05:03:28
Message-Id: 1388723969.2888c0d8edb2c8c6a85c7e215d0e5f8ed3f14efb.dol-sen@gentoo
1 commit: 2888c0d8edb2c8c6a85c7e215d0e5f8ed3f14efb
2 Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 17 06:27:04 2013 +0000
4 Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
5 CommitDate: Fri Jan 3 04:39:29 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=2888c0d8
7
8 Fix a relative path bug
9
10 ---
11 targets/support/functions.sh | 4 ++--
12 1 file changed, 2 insertions(+), 2 deletions(-)
13
14 diff --git a/targets/support/functions.sh b/targets/support/functions.sh
15 index 80e371c..3245862 100644
16 --- a/targets/support/functions.sh
17 +++ b/targets/support/functions.sh
18 @@ -20,7 +20,7 @@ exec_in_chroot(){
19 # and executes it.
20 local file_name=$(basename ${1})
21 local subdir=${2}
22 - local destdir=".${subdir}/tmp"
23 + local destdir="${subdir}/tmp"
24
25 echo "Copying ${file_name} to ${destdir}"
26 copy_to_chroot ${1} ${destdir}
27 @@ -33,7 +33,7 @@ exec_in_chroot(){
28 chmod +x ${chroot_path}/${destdir}/${file_name}
29
30 echo "Running ${file_name} in chroot ${chroot_path}"
31 - ${clst_CHROOT} ${chroot_path} ${destdir}/${file_name} || exit 1
32 + ${clst_CHROOT} ${chroot_path} .${destdir}/${file_name} || exit 1
33
34 delete_from_chroot ${destdir}/${file_name}
35 delete_from_chroot ${destdir}/chroot-functions.sh