From 732f352b6c03d4c621c82239ff69fbe6f7cf4df3 Mon Sep 17 00:00:00 2001 From: Christian Steinert Date: Tue, 24 May 2016 14:37:02 +0200 Subject: [PATCH] Changed the cache path to be relative to script location and not to working directory. --- src/app/FakeLib/FSIHelper.fs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/FakeLib/FSIHelper.fs b/src/app/FakeLib/FSIHelper.fs index 8ff65c5c93a..e37360fb33c 100644 --- a/src/app/FakeLib/FSIHelper.fs +++ b/src/app/FakeLib/FSIHelper.fs @@ -220,7 +220,7 @@ let private getCacheInfoFromScript printDetails fsiOptions scriptPath = //TODO this is only calculating the hash for the input file, not anything #load-ed let scriptFileName = Path.GetFileName(scriptPath) - let hashPath = "./.fake/" + scriptFileName + "_" + scriptHash + let hashPath = (Path.GetDirectoryName scriptPath) + "/.fake/" + scriptFileName + "_" + scriptHash let assemblyPath = hashPath + ".dll" let assemblyWarningsPath = hashPath + "_warnings.txt" let cacheConfigPath = hashPath + "_config.xml"