Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex D
GHC
Commits
961276aa
Commit
961276aa
authored
Dec 03, 2006
by
sven.panne@aedion.de
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed and simplified repository calculation, works via SSH now, too
parent
80a766fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
11 deletions
+5
-11
darcs-all
darcs-all
+5
-11
No files found.
darcs-all
View file @
961276aa
...
...
@@ -8,10 +8,10 @@ top_dirs="nofib testsuite"
# based on where this GHC repo came from.
defaultrepo
=
`
cat
_darcs/prefs/defaultrepo
`
case
$defaultrepo
in
http://
*
)
default_repo_root
=
`
echo
$defaultrepo
|
sed
's!/ghc$!!'
`
default_lib_repo_root
=
$default_repo_root
/packages
;;
/
*
)
default_repo_root
=
$defaultrepo
default_lib_repo_root
=
$default_repo_root
/libraries
;;
http://
*
|
*
@
*
:
*
)
defaultrepo_lib
=
`
echo
$defaultrepo
|
sed
's!/ghc$!!'
`
/packages
;;
/
*
)
defaultrepo_lib
=
$defaultrepo
/libraries
;;
esac
quiet
=
NO
...
...
@@ -52,12 +52,6 @@ darcsget()
*
)
echo
"warning: adding --partial, to override use --complete"
esac
repo_root
=
`
cat
_darcs/prefs/defaultrepo
`
case
$repo_root
in
/
*
)
lib_repos
=
$repo_root
/libraries
;;
*
)
lib_repos
=
$default_lib_repo_root
;;
esac
cd
libraries
if
test
"
$extra
"
=
"YES"
;
then
...
...
@@ -70,7 +64,7 @@ darcsget()
if
test
-d
$pkg
;
then
echo
"warning:
$pkg
already present; omitting"
else
repo
=
$
lib_repos
/
$pkg
repo
=
$
defaultrepo_lib
/
$pkg
message
"== running darcs get --partial
$*
$repo
"
darcs get
--partial
$*
$repo
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment