aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2023-08-24 08:48:42 +0200
committerUlrich Müller <ulm@gentoo.org>2023-08-24 08:48:42 +0200
commit26bd466e1620c26adbfc78195a8f35475b49d57a (patch)
tree408523829f84cdf4aacf0cfb8f05d5724696a15e /misc/emerge-delta-webrsync
parentAllow building of pure Python wheel by setting "pure" appropriately (diff)
downloadportage-26bd466e1620c26adbfc78195a8f35475b49d57a.tar.gz
portage-26bd466e1620c26adbfc78195a8f35475b49d57a.tar.bz2
portage-26bd466e1620c26adbfc78195a8f35475b49d57a.zip
emerge-webrsync: Avoid double slash when expanding EPREFIX
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'misc/emerge-delta-webrsync')
-rwxr-xr-xmisc/emerge-delta-webrsync6
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/emerge-delta-webrsync b/misc/emerge-delta-webrsync
index 610a03f8f..12930a0a6 100755
--- a/misc/emerge-delta-webrsync
+++ b/misc/emerge-delta-webrsync
@@ -20,7 +20,7 @@
#
# Opportunistically use gentoo-functions for nicer output
-functions_script="${EPREFIX:-/}/lib/gentoo/functions.sh"
+functions_script="${EPREFIX}/lib/gentoo/functions.sh"
source "${functions_script}" || {
echo "${argv0}: Could not source ${functions_script}!" 1>&2
@@ -383,7 +383,7 @@ check_file_signature_gemato() {
if [[ -n ${PORTAGE_GPG_KEY} ]] ; then
local key="${PORTAGE_GPG_KEY}"
else
- local key="${EPREFIX:-/}"/usr/share/openpgp-keys/gentoo-release.asc
+ local key="${EPREFIX}/usr/share/openpgp-keys/gentoo-release.asc"
fi
if [[ ! -f "${key}" ]] ; then
@@ -430,7 +430,7 @@ check_file_signature_gpg_unwrapped() {
if [[ -n ${PORTAGE_GPG_KEY} ]] ; then
local key="${PORTAGE_GPG_KEY}"
else
- local key="${EPREFIX:-/}"/usr/share/openpgp-keys/gentoo-release.asc
+ local key="${EPREFIX}/usr/share/openpgp-keys/gentoo-release.asc"
fi
if [[ ! -f "${key}" ]] ; then