[commit: ghc] wip/nfs-locking: Make build.bat work regardless of your current directory, so you can invoke it from the root directory (4be2130)

git at git.haskell.org git at git.haskell.org
Fri Oct 27 00:06:38 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/nfs-locking
Link       : http://ghc.haskell.org/trac/ghc/changeset/4be213017f9d2a64ae1413c1e73678ead571d7e9/ghc

>---------------------------------------------------------------

commit 4be213017f9d2a64ae1413c1e73678ead571d7e9
Author: Neil Mitchell <ndmitchell at gmail.com>
Date:   Sun Jan 10 22:31:38 2016 +0000

    Make build.bat work regardless of your current directory, so you can invoke it from the root directory


>---------------------------------------------------------------

4be213017f9d2a64ae1413c1e73678ead571d7e9
 build.bat | 1 +
 1 file changed, 1 insertion(+)

diff --git a/build.bat b/build.bat
index 41b7877..0cf778a 100644
--- a/build.bat
+++ b/build.bat
@@ -1,3 +1,4 @@
+ at cd %~dp0
 @mkdir .shake 2> nul
 
 @set ghcArgs=--make            ^



More information about the ghc-commits mailing list