1 |
commit: ffedd9d80e89dd24dfe1a4422eb8b3c72b5f6229 |
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: Wed Jan 1 23:55:43 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=ffedd9d8 |
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 |