diff --git a/build-cmtk.sh b/build-cmtk.sh index a47aeb65..e7891860 100755 --- a/build-cmtk.sh +++ b/build-cmtk.sh @@ -3,8 +3,9 @@ set -e # check to see if cmtk install folder is empty if [ ! -d "$HOME/usr/local/bin" ]; then mkdir -p $HOME/src && cd $HOME/src - git clone --depth 50 https://github.com/jefferis/cmtk@natdev - cd cmtk/core && mkdir build && cd build && cmake .. && make DESTDIR=$HOME/ all install + git clone --depth 50 https://github.com/jefferis/cmtk + cd cmtk && git checkout natdev + cd core && mkdir build && cd build && cmake .. && make DESTDIR=$HOME/ all install else echo 'Using cached $HOME/usr/local directory.'; fi