summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSimone Cimarelli2022-09-23 19:57:22 +0200
committerSimone Cimarelli2022-09-23 19:57:22 +0200
commit9703866943289673613447691b7680546c3d410c (patch)
treeed99b52843d26970918d5aa7e11fcee9dabc3aae /PKGBUILD
parent9f1fe7ec9635bd1e6392a499729325a26aa714d3 (diff)
downloadaur-9703866943289673613447691b7680546c3d410c.tar.gz
Escape variable substitutions inside local.sh here-doc
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index afcbb4b83b28..2bea22180232 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -52,9 +52,9 @@ build() {
cat <<EOF >local.sh
PREFIX=/usr
-HWLOC=$PREFIX
-GMPECM=$PREFIX
-CURL=$PREFIX
+HWLOC="\$PREFIX"
+GMPECM="\$PREFIX"
+CURL="\$PREFIX"
# Remove 32-bit barriers to big factorizations
FLAGS_SIZE="-DSIZEOF_P_R_VALUES=8 -DSIZEOF_INDEX=8"
EOF