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: Tue, 31 Dec 2013 18:14:08
Message-Id: 1388512744.5779e446f22664f99797dd6d820f7b7218d48934.dol-sen@gentoo
1 commit: 5779e446f22664f99797dd6d820f7b7218d48934
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: Tue Dec 31 17:59:04 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=5779e446
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