diff options
author | Simon Marlow <marlowsd@gmail.com> | 2011-01-14 14:24:06 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2011-01-14 14:24:06 +0000 |
commit | 915bf16e514a1fdb2ed354b22d035dfec3c0cdd0 (patch) | |
tree | e34fc57b69602199557844b3ef6cf45ee04ea229 /boot-pkgs | |
parent | 0d65e1916d354e5ae148eca7e916dcec12a190d7 (diff) | |
download | haskell-915bf16e514a1fdb2ed354b22d035dfec3c0cdd0.tar.gz |
cope with empty libraries/stamp directory (in git repo)
Diffstat (limited to 'boot-pkgs')
-rw-r--r-- | boot-pkgs | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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))) { |