From: Simon Marlow Date: Fri, 14 Jan 2011 14:24:06 +0000 (+0000) Subject: cope with empty libraries/stamp directory (in git repo) X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=915bf16e514a1fdb2ed354b22d035dfec3c0cdd0 cope with empty libraries/stamp directory (in git repo) --- diff --git a/boot-pkgs b/boot-pkgs index 4552088..b613828 100644 --- a/boot-pkgs +++ b/boot-pkgs @@ -26,6 +26,9 @@ for $tarball (@tarballs) { print "Ignoring libraries/$package as it looks like a darcs checkout\n" } else { + if (! -d "libraries/stamp") { + mkdir "libraries/stamp"; + } $stamp = "libraries/stamp/$package"; if ((! -d "libraries/$package") || (! -f "$stamp") || ((-M "libraries/stamp/$package") > (-M $tarball))) {