dev-util/ply: fix sandbox violation (bug 581644)
authorZac Medico <zmedico@gentoo.org>
Mon, 2 May 2016 09:53:45 +0000 (02:53 -0700)
committerZac Medico <zmedico@gentoo.org>
Mon, 2 May 2016 09:53:45 +0000 (02:53 -0700)
Package-Manager: portage-2.2.28

dev-util/ply/ply-0_pre20160313.ebuild

index 8112b400542c5eb5a4f32b079bc6e15f74c1908a..5a9e47c534f6fc3c1369a97b09129b1400c52119 100644 (file)
@@ -39,7 +39,7 @@ src_configure() {
                # create a symlink copy of the source tree so that we are free
                # to clean things up as needed.
                kerneldir_orig=${KERNEL_DIR}
-               cp -sR "${kerneldir_orig}" "${T}/kerneldir" || die
+               cp -sR "$(realpath "${kerneldir_orig}")" "${T}/kerneldir" || die
                export KERNEL_DIR="${T}/kerneldir"
                pushd "${KERNEL_DIR}" || die
                # avoid sandbox violation for scripts/kconfig/.conf.cmd