diff options
author | Amadeusz Żołnowski <aidecoe@gentoo.org> | 2016-08-27 13:39:45 +0100 |
---|---|---|
committer | Amadeusz Żołnowski <aidecoe@gentoo.org> | 2016-08-27 13:59:51 +0100 |
commit | 4171aea709df12cdd338d1ccac805b8a885f03f2 (patch) | |
tree | 6ed08426e0bbf0c115e657df0c4dae152e51ede0 /net-im | |
parent | dev-ros/urdf_parser_plugin: forward port urdfdom1 fix, bug #592230 (diff) | |
download | gentoo-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.ebuild | 6 |
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. |