projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e560111
)
Windows fix
author
Simon Marlow
<simonmar@microsoft.com>
Wed, 9 Jan 2008 16:27:32 +0000
(16:27 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Wed, 9 Jan 2008 16:27:32 +0000
(16:27 +0000)
darcs-all
patch
|
blob
|
history
diff --git
a/darcs-all
b/darcs-all
index
046e589
..
1cc2b24
100644
(file)
--- a/
darcs-all
+++ b/
darcs-all
@@
-11,8
+11,10
@@
chomp $defaultrepo;
my $defaultrepo_base;
my $defaultrepo_lib;
-if ($defaultrepo =~ /:/) {
+if ($defaultrepo =~ /^...*:/) {
# HTTP or SSH
+ # Above regex says "at least two chars before the :", to avoid
+ # catching Win32 drives ("C:\").
$defaultrepo_base = $defaultrepo;
$defaultrepo_base =~ s#/[^/]+/?$##;
$defaultrepo_lib = "$defaultrepo_base/packages";