summaryrefslogtreecommitdiff
path: root/boot-pkgs
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2011-01-14 14:24:06 +0000
committerSimon Marlow <marlowsd@gmail.com>2011-01-14 14:24:06 +0000
commit915bf16e514a1fdb2ed354b22d035dfec3c0cdd0 (patch)
treee34fc57b69602199557844b3ef6cf45ee04ea229 /boot-pkgs
parent0d65e1916d354e5ae148eca7e916dcec12a190d7 (diff)
downloadhaskell-915bf16e514a1fdb2ed354b22d035dfec3c0cdd0.tar.gz
cope with empty libraries/stamp directory (in git repo)
Diffstat (limited to 'boot-pkgs')
-rw-r--r--boot-pkgs3
1 files changed, 3 insertions, 0 deletions
diff --git a/boot-pkgs b/boot-pkgs
index 4552088808..b61382889f 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))) {