lcov-report/lcov-report.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
New commits: commit 47f20415c056ed56108dbf5a1894be3a119e8c5d Author: Maarten Hoes <[email protected]> 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 <[email protected]> Tested-by: Caolán McNamara <[email protected]> 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
_______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
