commit:     e94bdc1cc1798932812f5a64cf885d4448be2a82
Author:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 11 23:54:36 2013 +0000
Commit:     Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
CommitDate: Tue Sep  2 05:46:13 2014 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=e94bdc1c

Fix a relative path bug

This is part 2 of the bugfix.  The first part got committed in:

commit: 2718211aa28019b8142ae8efe2eefdbb67b6aedb
Author: Brian Dolbec <dolsen <AT> gentoo.org> (Sat 11 Jan 2014 08:53:12 PM PST)
Subject: Remove some troublesome trailing slashes from paths

---
 targets/support/functions.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/targets/support/functions.sh b/targets/support/functions.sh
index c8757d4..0894b35 100755
--- a/targets/support/functions.sh
+++ b/targets/support/functions.sh
@@ -34,7 +34,7 @@ exec_in_chroot(){
 
        echo "Running ${file_name} in chroot:"
        echo "    ${clst_CHROOT} ${chroot_path} ${destdir}/${file_name}"
-       ${clst_CHROOT} ${chroot_path} ${destdir}/${file_name} || exit 1
+       ${clst_CHROOT} ${chroot_path} .${destdir}/${file_name} || exit 1
 
        delete_from_chroot ${destdir}/${file_name}
        delete_from_chroot ${destdir}/chroot-functions.sh

Reply via email to