diff --git a/build.bat b/build.bat index d4878fc..8fd3810 100644 --- a/build.bat +++ b/build.bat @@ -44,7 +44,7 @@ IF "%TYPE%" == "Release" copy /Y %DEVSPACE%\libiconv\Release\lib\libiconv.lib %D cd %DEVSPACE% git clone git://git.dcmtk.org/dcmtk.git cd dcmtk -git pull +git fetch git checkout -f DCMTK-3.6.2 mkdir build-%TYPE% cd build-%TYPE% diff --git a/build.sh b/build.sh index 5711601..2ff3494 100755 --- a/build.sh +++ b/build.sh @@ -14,7 +14,7 @@ DEVSPACE=`pwd` cd $DEVSPACE [[ -d dcmtk ]] || git clone git://git.dcmtk.org/dcmtk.git cd dcmtk -git pull +git fetch git checkout -f DCMTK-3.6.2 mkdir -p build-$TYPE cd build-$TYPE