summaryrefslogtreecommitdiff
path: root/darcs-all
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2006-09-06 12:46:40 +0000
committerIan Lynagh <igloo@earth.li>2006-09-06 12:46:40 +0000
commitffae661b22b966ac8c8cd2d554c78392a39a9128 (patch)
tree46cbf37d393aebb790b7678b6b26f84b015ead32 /darcs-all
parent734ae260b47cc71469cffe5774dce4de002ed1ee (diff)
downloadhaskell-ffae661b22b966ac8c8cd2d554c78392a39a9128.tar.gz
Tell the 6.6 branch where to find extralibs
Diffstat (limited to 'darcs-all')
-rw-r--r--darcs-all23
1 files changed, 7 insertions, 16 deletions
diff --git a/darcs-all b/darcs-all
index 186771ee41..153f007c6d 100644
--- a/darcs-all
+++ b/darcs-all
@@ -7,9 +7,6 @@ top_dirs="nofib testsuite"
default_repo_root="http://darcs.haskell.org/ghc-6.6/"
default_lib_repo_root=$default_repo_root/packages
-default_extra_repo_root="http://darcs.haskell.org/"
-default_extra_lib_repo_root=$default_extra_repo_root/packages
-
quiet=NO
message()
@@ -56,27 +53,21 @@ darcsget()
cd libraries
- for pkg in `cat core-packages`; do
- if test -d $pkg; then
- echo "warning: $pkg already present; omitting"
- else
- repo=$lib_repos/$pkg
- message "== running darcs get --partial $* $repo"
- darcs get --partial $* $repo
- fi
- done
-
if test "$extra" = "YES"; then
- for pkg in `cat extra-packages`; do
+ packages=`cat core-packages extra-packages`
+ else
+ packages=`cat core-packages`
+ fi
+
+ for pkg in $packages; do
if test -d $pkg; then
echo "warning: $pkg already present; omitting"
else
- repo=$default_extra_lib_repo_root/$pkg
+ repo=$lib_repos/$pkg
message "== running darcs get --partial $* $repo"
darcs get --partial $* $repo
fi
done
- fi
}
if test ! -d _darcs -o ! -d compiler; then