From: Jorge Manuel B. S. Vicetto (jmbsvicetto) Date: Mon, 1 Oct 2012 11:09:39 +0000 (+0000) Subject: Use relative path. X-Git-Tag: catalyst-2.0.12~12 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7be5b3b53cd0f89f954845ea9fd885a73cc0aedc;p=catalyst.git Use relative path. --- 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}