Merge pull request #507 from sloriot/Scripts-test_script_update

make the call to readlink earlier to prevent usage of incorrect CGAL_DIR
This commit is contained in:
Sebastien Loriot 2016-01-18 09:45:00 +01:00
commit 6a7523770b
1 changed files with 2 additions and 2 deletions

View File

@ -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}"`