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:
732f30c
)
Don't assume that the main repo is called "ghc" in darcs-all
author
Ian Lynagh
<igloo@earth.li>
Wed, 20 Jun 2007 23:40:07 +0000
(23:40 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Wed, 20 Jun 2007 23:40:07 +0000
(23:40 +0000)
Fixes working in branches where that isn't true.
darcs-all
patch
|
blob
|
history
diff --git
a/darcs-all
b/darcs-all
index
4e67683
..
72e1ed3
100644
(file)
--- a/
darcs-all
+++ b/
darcs-all
@@
-14,7
+14,7
@@
my $defaultrepo_lib;
if ($defaultrepo =~ /:/) {
# HTTP or SSH
$defaultrepo_base = $defaultrepo;
- $defaultrepo_base =~ s#/ghc$##;
+ $defaultrepo_base =~ s#/[^/]+/?$##;
$defaultrepo_lib = "$defaultrepo_base/packages";
}
elsif ($defaultrepo =~ /^\//) {