diff options
author | Ulrich Müller <ulm@gentoo.org> | 2023-08-24 08:48:42 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2023-08-24 08:48:42 +0200 |
commit | 26bd466e1620c26adbfc78195a8f35475b49d57a (patch) | |
tree | 408523829f84cdf4aacf0cfb8f05d5724696a15e /misc/emerge-delta-webrsync | |
parent | Allow building of pure Python wheel by setting "pure" appropriately (diff) | |
download | portage-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-x | misc/emerge-delta-webrsync | 6 |
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 |