summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2024-11-13 16:48:40 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2024-11-13 16:49:11 +0100
commitb6f00c5af2f20400b53a91fc63a9cbd1390da370 (patch)
treedce02eb3a85552a65fa2e768a4698c2953090006 /sci-mathematics
parentdev-ruby/charlock_holmes: avoid calling which (diff)
downloadgentoo-b6f00c5af2f20400b53a91fc63a9cbd1390da370.tar.gz
gentoo-b6f00c5af2f20400b53a91fc63a9cbd1390da370.tar.bz2
gentoo-b6f00c5af2f20400b53a91fc63a9cbd1390da370.zip
sci-mathematics/mathematica: "fix" sandbox violation
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/mathematica/mathematica-14.1.0.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/sci-mathematics/mathematica/mathematica-14.1.0.ebuild b/sci-mathematics/mathematica/mathematica-14.1.0.ebuild
index 9bf69ece025a..5bb3f3dad8d4 100644
--- a/sci-mathematics/mathematica/mathematica-14.1.0.ebuild
+++ b/sci-mathematics/mathematica/mathematica-14.1.0.ebuild
@@ -86,6 +86,10 @@ src_install() {
# fix ACCESS DENIED issue when installing documentation
sed -e "s|\(exec ./WolframInstaller\) -noprompt|\1 -auto -targetdir=${S}/${M_TARGET}/Documentation -noexec|" -i "Unix/Installer/WolframInstaller" || die
+ # in the depths of the installer it tests whether it can write here
+ # addpredict is by far the simplest solution
+ addpredict /usr/share/thisisatest
+
/bin/sh "Unix/Installer/WolframInstaller" -auto "-targetdir=${S}/${M_TARGET}" "-execdir=${S}/opt/bin" || die
popd > /dev/null || die