From: Rick Farina (Zero_Chaos) Date: Fri, 2 Nov 2012 00:58:15 +0000 (-0400) Subject: re-apply "Revert "Use relative path."" X-Git-Tag: catalyst-2.0.12.2~7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=21830e1ecee05f786e08748bc750a11c6b580e3e;p=catalyst.git re-apply "Revert "Use relative path."" --- diff --git a/targets/support/functions.sh b/targets/support/functions.sh index af57c10f..d362ece7 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}