check-reqs.eclass: Remove duplicate slash in path.
authorUlrich Müller <ulm@gentoo.org>
Fri, 23 Aug 2019 09:33:58 +0000 (11:33 +0200)
committerUlrich Müller <ulm@gentoo.org>
Fri, 23 Aug 2019 09:33:58 +0000 (11:33 +0200)
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
eclass/check-reqs.eclass

index 242abde4e27980c4462542a17a525285f6924611..192d6fa740dc5026b42ffc1e4e8085404df54978 100644 (file)
@@ -137,12 +137,12 @@ check-reqs_run() {
        if [[ ${MERGE_TYPE} != buildonly ]]; then
                [[ -n ${CHECKREQS_DISK_USR} ]] && \
                        check-reqs_disk \
-                               "${EROOT}/usr" \
+                               "${EROOT%/}/usr" \
                                "${CHECKREQS_DISK_USR}"
 
                [[ -n ${CHECKREQS_DISK_VAR} ]] && \
                        check-reqs_disk \
-                               "${EROOT}/var" \
+                               "${EROOT%/}/var" \
                                "${CHECKREQS_DISK_VAR}"
        fi
 }