diff options
author | Maarten Hoes <hoes.maarten@gmail.com> | 2015-03-04 21:14:19 +0100 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2015-03-04 21:24:33 +0000 |
commit | 1ba25afb4b0021f8d77f961ba4923fa27c390c62 (patch) | |
tree | fb3bedc5eaae36dc7c647a479fae3f699c164078 | |
parent | 469be295be29c711874a144fc923936498471a5d (diff) |
Also readlink -f BUILD_DIR when running BEFORE or AFTER.
Change-Id: Ibce70d6cf3deb289bb6bdd8727f6d8680895f518
Reviewed-on: https://gerrit.libreoffice.org/14746
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
-rwxr-xr-x | lcov-report/lcov-report.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lcov-report/lcov-report.sh b/lcov-report/lcov-report.sh index 1e7cbd2..ab62d68 100755 --- a/lcov-report/lcov-report.sh +++ b/lcov-report/lcov-report.sh @@ -85,6 +85,8 @@ init() if [ -z "${SRC_DIR?}" ] ; then die "When specifying '-a', you also need to specify '-s'." fi + + BUILD_DIR=$(readlink -f "${BUILD_DIR?}") fi if [ "${BEFORE?}" = "TRUE" ] ; then |