Klaus Kämpf 2014-03-26 08:40:13 +00:00 committed by Git OBS Bridge
parent 79da141433
commit 9f14356207

View File

@ -1,22 +0,0 @@
Index: libpromises/bootstrap.c
===================================================================
--- libpromises/bootstrap.c.orig
+++ libpromises/bootstrap.c
@@ -332,7 +332,7 @@ bool WriteBuiltinFailsafePolicyToPath(co
" handle => \"cfe_internal_bootstrap_update_files_sys_workdir_inputs_not_windows\",\n"
#ifdef __MINGW32__
// This section is needed because Windows attempts to copy from "C:\Program Files\Cfengine\masterfiles".
- " copy_from => u_scp(\"/var/cfengine/masterfiles\"),\n"
+ " copy_from => u_scp(\"$(sys.workdir)/masterfiles\"),\n"
#else
" copy_from => u_scp(\"$(sys.masterdir)\"),\n"
#endif /* !__MINGW32__ */
@@ -344,7 +344,7 @@ bool WriteBuiltinFailsafePolicyToPath(co
" handle => \"cfe_internal_bootstrap_update_files_sys_workdir_inputs_windows\",\n"
#ifdef __MINGW32__
// This section is needed because Windows attempts to copy from "C:\Program Files\Cfengine\masterfiles".
- " copy_from => u_scp(\"/var/cfengine/masterfiles\"),\n"
+ " copy_from => u_scp(\"$(sys.workdir)/masterfiles\"),\n"
#else
" copy_from => u_scp(\"$(sys.masterdir)\"),\n"
#endif /* !__MINGW32__ */