mirror of https://github.com/CGAL/cgal
work also in a git-worktree
This commit is contained in:
parent
b5474fd02e
commit
6870ddd8ef
|
|
@ -169,7 +169,7 @@ set -e
|
|||
cd ${TMPDIR} || return
|
||||
|
||||
# Update the working copy
|
||||
if [ -d "${SOURCES_DIR}/.git" ]; then
|
||||
if [ -e "${SOURCES_DIR}/.git" ]; then
|
||||
pushd "${SOURCES_DIR}"
|
||||
[ -z "$NO_SCM" ] && git pull
|
||||
CGAL_GIT_HASH=`git rev-parse HEAD`
|
||||
|
|
|
|||
Loading…
Reference in New Issue