summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorAmadeusz Żołnowski <aidecoe@gentoo.org>2016-08-27 13:39:45 +0100
committerAmadeusz Żołnowski <aidecoe@gentoo.org>2016-08-27 13:59:51 +0100
commit4171aea709df12cdd338d1ccac805b8a885f03f2 (patch)
tree6ed08426e0bbf0c115e657df0c4dae152e51ede0 /net-im
parentdev-ros/urdf_parser_plugin: forward port urdfdom1 fix, bug #592230 (diff)
downloadgentoo-4171aea709df12cdd338d1ccac805b8a885f03f2.tar.gz
gentoo-4171aea709df12cdd338d1ccac805b8a885f03f2.tar.bz2
gentoo-4171aea709df12cdd338d1ccac805b8a885f03f2.zip
net-im/ejabberd: Remove leading double /
Diffstat (limited to 'net-im')
-rw-r--r--net-im/ejabberd/ejabberd-16.04.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/net-im/ejabberd/ejabberd-16.04.ebuild b/net-im/ejabberd/ejabberd-16.04.ebuild
index eb64457d3e2c..7fd509dcef46 100644
--- a/net-im/ejabberd/ejabberd-16.04.ebuild
+++ b/net-im/ejabberd/ejabberd-16.04.ebuild
@@ -114,7 +114,7 @@ ejabberd_cert_exists() {
for cert in $(gawk -- \
'match($0, /^[[:space:]]*certfile: "([^"]+)"/, m) {print m[1];}' \
- "${EROOT}${JABBER_ETC}/ejabberd.yml"); do
+ "${EROOT%/}${JABBER_ETC}/ejabberd.yml"); do
[[ -f ${cert} ]] && return 0
done
@@ -126,8 +126,8 @@ ejabberd_cert_exists() {
ejabberd_cert_install() {
SSL_ORGANIZATION="${SSL_ORGANIZATION:-ejabberd XMPP Server}"
install_cert "${EJABBERD_CERT%.*}"
- chown root:jabber "${EROOT}${EJABBERD_CERT}" || die
- chmod 0440 "${EROOT}${EJABBERD_CERT}" || die
+ chown root:jabber "${EROOT%/}${EJABBERD_CERT}" || die
+ chmod 0440 "${EROOT%/}${EJABBERD_CERT}" || die
}
# Get path to ejabberd lib directory.