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=540f08abe4ef348585e2689090b66007e6ec63fd;p=catalyst.git Fix a relative path bug --- diff --git a/targets/support/functions.sh b/targets/support/functions.sh index 6bfa3a27..224833fd 100755 --- a/targets/support/functions.sh +++ b/targets/support/functions.sh @@ -20,7 +20,7 @@ exec_in_chroot(){ # and executes it. local file_name=$(basename ${1}) local subdir=${2} - local destdir=".${subdir}/tmp" + local destdir="${subdir}/tmp" echo "--- Copying ${file_name} to ${destdir}" copy_to_chroot ${1} ${destdir} @@ -33,7 +33,7 @@ exec_in_chroot(){ chmod +x ${chroot_path}/${destdir}/${file_name} echo "--- Running ${file_name} in chroot ${chroot_path}" - ${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