diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2022-09-04 22:02:51 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-09-12 22:14:31 +0300 |
commit | e60c536eeda9efe06da2c50bb0cdf8295c411d6b (patch) | |
tree | d0bb807e1d095ebfa81e9906f22b3dfeeb1b278f /eclass | |
parent | webapp.eclass: fix UnquotedVariable of D (diff) | |
download | gentoo-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.eclass | 2 |
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 |