dev-libs/libpqxx: [QA] Fix UnnecessarySlashStrip
authorDavid Seifert <soap@gentoo.org>
Sat, 8 Feb 2020 16:21:45 +0000 (17:21 +0100)
committerDavid Seifert <soap@gentoo.org>
Sat, 8 Feb 2020 16:21:45 +0000 (17:21 +0100)
Signed-off-by: David Seifert <soap@gentoo.org>
dev-libs/libpqxx/libpqxx-6.4.5.ebuild

index 45ec518c2990623c986e69b46f98f03fc7722d48..41b9508b37d12f72e66089abf0072cb8c8663a70 100644 (file)
@@ -45,11 +45,11 @@ src_test() {
        einfo "The tests need a running PostgreSQL server and an existing database."
        einfo "Test requires PGDATABASE and PGUSER to be set at a minimum. Optionally,"
        einfo "set PGPORT and PGHOST. Define them at the command line or in:"
-       einfo "    ${EROOT%/}/etc/libpqxx_test_env"
+       einfo "    ${EROOT}/etc/libpqxx_test_env"
 
        if [[ -z $PGDATABASE || -z $PGUSER ]] ; then
-               if [[ -f ${EROOT%/}/etc/libpqxx_test_env ]] ; then
-                       source "${EROOT%/}/etc/libpqxx_test_env"
+               if [[ -f ${EROOT}/etc/libpqxx_test_env ]] ; then
+                       source "${EROOT}/etc/libpqxx_test_env"
                        [[ -n $PGDATABASE ]] && export PGDATABASE
                        [[ -n $PGHOST ]] && export PGHOST
                        [[ -n $PGPORT ]] && export PGPORT