1 |
--- |
2 |
targets/support/functions.sh | 4 ++-- |
3 |
1 file changed, 2 insertions(+), 2 deletions(-) |
4 |
|
5 |
diff --git a/targets/support/functions.sh b/targets/support/functions.sh |
6 |
index 311ed7b..fba855c 100755 |
7 |
--- a/targets/support/functions.sh |
8 |
+++ b/targets/support/functions.sh |
9 |
@@ -20,7 +20,7 @@ exec_in_chroot(){ |
10 |
# and executes it. |
11 |
local file_name=$(basename ${1}) |
12 |
local subdir=${2} |
13 |
- local destdir=".${subdir}/tmp" |
14 |
+ local destdir="${subdir}/tmp" |
15 |
|
16 |
echo "Copying ${file_name} to ${destdir}" |
17 |
copy_to_chroot ${1} ${destdir} |
18 |
@@ -33,7 +33,7 @@ exec_in_chroot(){ |
19 |
chmod +x ${chroot_path}/${destdir}/${file_name} |
20 |
|
21 |
echo "Running ${file_name} in chroot ${chroot_path}" |
22 |
- ${clst_CHROOT} ${chroot_path} ${destdir}/${file_name} || exit 1 |
23 |
+ ${clst_CHROOT} ${chroot_path} .${destdir}/${file_name} || exit 1 |
24 |
|
25 |
delete_from_chroot ${destdir}/${file_name} |
26 |
delete_from_chroot ${destdir}/chroot-functions.sh |
27 |
-- |
28 |
1.8.5.3 |