Revision 449205c48661f5890534733cb74818612c4613e4 authored by Sébastien Loriot on 13 January 2017, 12:18:55 UTC, committed by Sébastien Loriot on 13 January 2017, 12:18:55 UTC
this fix a warning with old version of boost < 1.51
Use another workaround to avoid the compilation error
of the area(face_range,tm) overload
1 parent e3f9ffa
Raw File
cgal_git_update_hooks_for_client
#!/bin/bash

if [ ! -e .git -o ! -e CMakeLists.txt ];
then
  echo "Call $0 from root directory of the CGAL repository"
  exit
fi

branch=$(git symbolic-ref HEAD)
branch=${branch/refs\/heads\//}

if [ ! -e .git ];
then
  echo "Call $0 from root directory of the CGAL repository"
  exit
fi

if [ "$branch" != "master" ];
then
  echo "Call $0 from branch 'master'"
  exit
fi

echo -n "Fetching from cgal-dev ... "
git fetch
echo "done"

echo "Updating hooks ... "

cd .git/hooks
if [ ! -e .git ];
then
  git init
fi
if git pull .. remotes/cgal-dev/hooks-for-clients; then
  echo "Hooks updated."
fi
cd ../..
back to top