re-apply "Revert "Use relative path.""
authorRick Farina (Zero_Chaos) <zerochaos@gentoo.org>
Fri, 2 Nov 2012 00:58:15 +0000 (20:58 -0400)
committerRick Farina (Zero_Chaos) <zerochaos@gentoo.org>
Fri, 2 Nov 2012 00:58:15 +0000 (20:58 -0400)
targets/support/functions.sh

index af57c10f52de2141f34bb8e492db2e0ff5337061..d362ece7405b58fb8ed723654c50ffb13e69c0ef 100644 (file)
@@ -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}