Fix a relative path bug master
authorBrian Dolbec <dolsen@gentoo.org>
Mon, 11 Feb 2013 23:54:36 +0000 (15:54 -0800)
committerBrian Dolbec <dolsen@gentoo.org>
Thu, 11 Sep 2014 03:05:37 +0000 (20:05 -0700)
This is part 2 of the bugfix.  The first part got committed in:

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

targets/support/functions.sh

index c8757d453cefd67c453dd4914d380dfe6141d422..0894b3533655a4a7acd8e28f88cb90cec9dfb1a2 100755 (executable)
@@ -34,7 +34,7 @@ exec_in_chroot(){
 
        echo "Running ${file_name} in chroot:"
        echo "    ${clst_CHROOT} ${chroot_path} ${destdir}/${file_name}"
 
        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
 
        delete_from_chroot ${destdir}/${file_name}
        delete_from_chroot ${destdir}/chroot-functions.sh