diff options
author | Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org> | 2012-10-01 11:09:39 +0000 |
---|---|---|
committer | Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org> | 2012-10-01 11:09:39 +0000 |
commit | 7be5b3b53cd0f89f954845ea9fd885a73cc0aedc (patch) | |
tree | 5c424f8ec700493bc917501ba1a51c6a611e09ea /targets | |
parent | Make sure we have ${destdir} on copy_to_chroot and simplify exec_in_chroot. (diff) | |
download | catalyst-7be5b3b53cd0f89f954845ea9fd885a73cc0aedc.tar.gz catalyst-7be5b3b53cd0f89f954845ea9fd885a73cc0aedc.tar.bz2 catalyst-7be5b3b53cd0f89f954845ea9fd885a73cc0aedc.zip |
Use relative path.
Diffstat (limited to 'targets')
-rw-r--r-- | targets/support/functions.sh | 3 |
1 files changed, 1 insertions, 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} |