From 5358543a00410cf80f4daaa255d378fd0f01c19c Mon Sep 17 00:00:00 2001 From: Jacek Sieka Date: Thu, 6 Sep 2018 12:07:42 -0600 Subject: [PATCH] appveyor: fix version check --- .appveyor.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index fa45a43..38aebc2 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -55,8 +55,7 @@ install: ) ELSE ( ( CD Nim ) & ( git rev-parse HEAD > ..\\cur_ver.txt ) & - ( fc ver.txt ..\\cur_ver.txt > nul ) & - ( IF NOT ERRORLEVEL == 0 SET NEED_REBUILD=1 ) & + ( fc ver.txt ..\\cur_ver.txt || SET NEED_REBUILD=1 ) & ( cd .. ) )