From 93d2b092f0ec7483af651a75cc81b50697387ebe Mon Sep 17 00:00:00 2001
From: Matthias Grob <maetugr@gmail.com>
Date: Tue, 27 Nov 2018 15:18:19 +0100
Subject: [PATCH] appveyor: fix mkdir on existing directory

---
 appveyor.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/appveyor.yml b/appveyor.yml
index a5d5429649..01192b6718 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -33,7 +33,7 @@ install:
 
 build_script:
 # FIXME Temporary we need to create the home folder because it's not contained in installer 0.5 and CI fails if it doesn't exist
-- mkdir C:\PX4\home
+- if not exist "C:\PX4\home" mkdir C:\PX4\home
 # setup the environmental variables to work within the installed cygwin toolchain
 - call C:\PX4\toolchain\scripts\setup-environment.bat x
 # safe the repopath for switching to it in cygwin bash
-- 
GitLab