summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-go/licenseclassifier/licenseclassifier-0_pre20200402.ebuild')
-rw-r--r--dev-go/licenseclassifier/licenseclassifier-0_pre20200402.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-go/licenseclassifier/licenseclassifier-0_pre20200402.ebuild b/dev-go/licenseclassifier/licenseclassifier-0_pre20200402.ebuild
index c666a32af4c5..5152bafd8068 100644
--- a/dev-go/licenseclassifier/licenseclassifier-0_pre20200402.ebuild
+++ b/dev-go/licenseclassifier/licenseclassifier-0_pre20200402.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -59,7 +59,7 @@ src_compile() {
# Make a binary that will use fixed path for the db
cp -v file_system_resources.go{,.bak} || die
- local share="${EROOT}/usr/share/licenseclassifier"
+ local share="${EPREFIX}/usr/share/licenseclassifier"
sed -i "s@= lcRoot()@= \"${share}\", error(nil)@" file_system_resources.go || die
go build -o build ./... || die