summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--targets/support/functions.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/targets/support/functions.sh b/targets/support/functions.sh
index 60ad249f..4018716d 100644
--- a/targets/support/functions.sh
+++ b/targets/support/functions.sh
@@ -20,8 +20,7 @@ exec_in_chroot(){
# and executes it.
local file_name=$(basename ${1})
local subdir=${2}
- local destdir=${subdir}/tmp
- destdir=${destdir#/}
+ local destdir=".${subdir}/tmp"
copy_to_chroot ${1} ${destdir}
chroot_path=${clst_chroot_path}${subdir}