[Libreoffice-commits] buildbot.git: lcov-report/lcov-report.sh

Maarten Hoes hoes.maarten at gmail.com
Thu Dec 4 02:52:14 PST 2014


 lcov-report/lcov-report.sh |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 47f20415c056ed56108dbf5a1894be3a119e8c5d
Author: Maarten Hoes <hoes.maarten at gmail.com>
Date:   Tue Dec 2 22:40:06 2014 +0100

    Allow for relative pathnames, by translating relative to absolutei ones.
    
    Change-Id: Ifee8c9d744cbed16090f35b437069b3ee4c84110
    Reviewed-on: https://gerrit.libreoffice.org/13281
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/lcov-report/lcov-report.sh b/lcov-report/lcov-report.sh
index d4d17fd..8a20a46 100755
--- a/lcov-report/lcov-report.sh
+++ b/lcov-report/lcov-report.sh
@@ -219,19 +219,19 @@ fi
 while getopts ":s:t:w:C:d:abc" opt ; do
     case "$opt" in
     s)
-        SRC_DIR="$OPTARG"
+        SRC_DIR=$(readlink -f "${OPTARG?}")
         ;;
     t)
-        TRACEFILE_DIR="$OPTARG"
+        TRACEFILE_DIR=$(readlink -f "${OPTARG?}")
         ;;
     w)
-        HTML_DIR="$OPTARG"
+        HTML_DIR=$(readlink -f "${OPTARG?}")
         ;;
     c)
         SOURCE_COMPILE=TRUE
         ;;
     C)
-        BUILD_DIR="$OPTARG"
+        BUILD_DIR=$(readlink -f "${OPTARG?}")
         ;;
     b)
         BEFORE=TRUE


More information about the Libreoffice-commits mailing list