summaryrefslogtreecommitdiff
path: root/darcs-all
diff options
context:
space:
mode:
Diffstat (limited to 'darcs-all')
-rw-r--r--darcs-all7
1 files changed, 6 insertions, 1 deletions
diff --git a/darcs-all b/darcs-all
index 72e1ed3354..7743e8a857 100644
--- a/darcs-all
+++ b/darcs-all
@@ -18,7 +18,12 @@ if ($defaultrepo =~ /:/) {
$defaultrepo_lib = "$defaultrepo_base/packages";
}
elsif ($defaultrepo =~ /^\//) {
- # Local filesystem (assumes a checked-out tree):
+ # Local filesystem, absolute path (assumes a checked-out tree):
+ $defaultrepo_base = $defaultrepo;
+ $defaultrepo_lib = "$defaultrepo/libraries";
+}
+elsif ($defaultrepo =~ /^..\//) {
+ # Local filesystem, relative path (assumes a checked-out tree):
$defaultrepo_base = $defaultrepo;
$defaultrepo_lib = "$defaultrepo/libraries";
}