From df8de0cb40c5428e5f767193a60496057997c83a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Mon, 23 Nov 2015 23:56:28 +0100 Subject: [PATCH] make the call to readlink earlier to prevent usage of incorrect CGAL_DIR in case CGAL-I is changed locally by another testsuite --- Scripts/developer_scripts/autotest_cgal | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Scripts/developer_scripts/autotest_cgal b/Scripts/developer_scripts/autotest_cgal index 8c919c9a374..471061985a7 100755 --- a/Scripts/developer_scripts/autotest_cgal +++ b/Scripts/developer_scripts/autotest_cgal @@ -377,7 +377,7 @@ build_platforms_list() setup_dirs() { # dir for the actual release - CGAL_DIR=${CGAL_ROOT}/CGAL-I + CGAL_DIR=`readlink "${CGAL_ROOT}/CGAL-I"` CGAL_TEST_DIR=${CGAL_DIR}/test @@ -391,7 +391,7 @@ setup_dirs() log "${ACTUAL_LOGFILE}" "Creating ${CGAL_DIR}/cmake/platforms" fi - CGAL_RELEASE_DIR=`readlink "${CGAL_DIR}"` + CGAL_RELEASE_DIR="${CGAL_DIR}" CGAL_RELEASE_ID=`basename "${CGAL_RELEASE_DIR}"`