From 7be5b3b53cd0f89f954845ea9fd885a73cc0aedc Mon Sep 17 00:00:00 2001 From: "Jorge Manuel B. S. Vicetto (jmbsvicetto)" Date: Mon, 1 Oct 2012 11:09:39 +0000 Subject: [PATCH] Use relative path. --- targets/support/functions.sh | 3 +-- 1 file changed, 1 insertion(+), 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} -- 2.26.2