summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2022-09-04 22:02:51 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2022-09-12 22:14:31 +0300
commite60c536eeda9efe06da2c50bb0cdf8295c411d6b (patch)
treed0bb807e1d095ebfa81e9906f22b3dfeeb1b278f /eclass
parentwebapp.eclass: fix UnquotedVariable of D (diff)
downloadgentoo-e60c536eeda9efe06da2c50bb0cdf8295c411d6b.tar.gz
gentoo-e60c536eeda9efe06da2c50bb0cdf8295c411d6b.tar.bz2
gentoo-e60c536eeda9efe06da2c50bb0cdf8295c411d6b.zip
bazel.eclass: simplify EPREFIX usage
EPREFIX is never slash terminated, in all EAPIs. Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/bazel.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/bazel.eclass b/eclass/bazel.eclass
index 641da6194ca7..3a8992972d40 100644
--- a/eclass/bazel.eclass
+++ b/eclass/bazel.eclass
@@ -113,7 +113,7 @@ bazel_setup_bazelrc() {
fetch --repository_cache="${T}/bazel-cache/" --distdir="${T}/bazel-distdir/"
build --repository_cache="${T}/bazel-cache/" --distdir="${T}/bazel-distdir/"
- build --define=PREFIX=${EPREFIX%/}/usr
+ build --define=PREFIX=${EPREFIX}/usr
build --define=LIBDIR=\$(PREFIX)/$(get_libdir)
build --define=INCLUDEDIR=\$(PREFIX)/include
EOF