Revert "Use relative path."
authorRick Farina (Zero_Chaos) <zerochaos@gentoo.org>
Thu, 1 Nov 2012 23:59:36 +0000 (19:59 -0400)
committerRick Farina (Zero_Chaos) <zerochaos@gentoo.org>
Thu, 1 Nov 2012 23:59:36 +0000 (19:59 -0400)
This reverts commit 7be5b3b53cd0f89f954845ea9fd885a73cc0aedc.

targets/support/functions.sh

index d362ece7405b58fb8ed723654c50ffb13e69c0ef..af57c10f52de2141f34bb8e492db2e0ff5337061 100644 (file)
@@ -20,7 +20,8 @@ exec_in_chroot(){
 # and executes it.
        local file_name=$(basename ${1})
        local subdir=${2}
-       local destdir=".${subdir}/tmp"
+       local destdir=${subdir}/tmp
+       destdir=${destdir#/}
 
        copy_to_chroot ${1} ${destdir}
        chroot_path=${clst_chroot_path}${subdir}