From 823d487950af4992a5811bcdf49de13b6872bc74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki-Chudyk?= Date: Sun, 31 Jul 2016 09:26:15 +0200 Subject: [PATCH] always fetch from scratch on windows --- windows_cygwin/build.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/windows_cygwin/build.bat b/windows_cygwin/build.bat index 4a3bbd6b..fc81ad80 100644 --- a/windows_cygwin/build.bat +++ b/windows_cygwin/build.bat @@ -8,8 +8,9 @@ set bash=c:\cygwin64\bin\bash.exe --login -c for /f "delims=" %%A in ('%bash% "cd `cygpath $HOMEPATH`/dev/dotfiles && git rev-parse --abbrev-ref HEAD"') do set "branch=%%A" %bash% 'echo "branch is $branch"' %bash% "cp -vr `cygpath $HOMEPATH`/.ssh $HOME/" -%bash% "mkdir -pv $HOME/dev/" +%bash% "mkdir -pv $HOME/dev/" +%bash% "rm -fr $HOME/dev/dotfiles" %bash% "git clone `cygpath $HOMEPATH`/dev/dotfiles $HOME/dev/dotfiles" %bash% "cd $HOME/dev/dotfiles && git checkout $branch" %bash% "export DIR=$HOME/dev/dotfiles && export NOSUDO=true && export DONT_CHANGE_SHELL=true && bash $DIR/common/configure_fresh_system"