From: Brian Dolbec Date: Mon, 11 Feb 2013 23:54:36 +0000 (-0800) Subject: Fix a relative path bug X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=79f9731e7dd3b632b10ac6a993e61417820fe604;p=catalyst.git Fix a relative path bug This is part 2 of the bugfix. The first part got committed in: commit: 2718211aa28019b8142ae8efe2eefdbb67b6aedb Author: Brian Dolbec (Sat 11 Jan 2014 08:53:12 PM PST) Subject: Remove some troublesome trailing slashes from paths --- diff --git a/targets/support/functions.sh b/targets/support/functions.sh index c8757d45..0894b353 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