summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP-Ellis2018-08-13 19:40:48 +0200
committerJP-Ellis2018-08-13 19:40:48 +0200
commit1a5f949c89810814d212cf49e2754bf6f317f727 (patch)
tree0824e262eea8c85ef12904b3a539e0b2183ac21b
parent651762758a8fa2af96073b12121453c4547f8792 (diff)
downloadaur-1a5f949c89810814d212cf49e2754bf6f317f727.tar.gz
Use bash to execute script
This is needed if the downloaded file isn't executable to begin with. Signed-off-by: JP-Ellis <josh@jpellis.me>
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6c0690c91cac..8a45ff6f1ac8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -110,7 +110,7 @@ prepare() {
package() {
msg2 "Running Mathematica installer"
# https://reference.wolfram.com/language/tutorial/InstallingMathematica.html#650929293
- ${srcdir}/Mathematica_${pkgver}_LINUX.sh -- \
+ sh ${srcdir}/Mathematica_${pkgver}_LINUX.sh -- \
-execdir=${pkgdir}/usr/bin \
-targetdir=${pkgdir}/opt/Mathematica \
-auto