Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
c6ccf379
Commit
c6ccf379
authored
Apr 25, 2007
by
Ian Lynagh
Browse files
Tweak darcs-all script
If you got darcs by SSH without specifying a username then the script would break.
parent
e63653ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
darcs-all
View file @
c6ccf379
...
...
@@ -8,9 +8,11 @@ top_dirs="nofib testsuite"
# based on where this GHC repo came from.
defaultrepo
=
`
cat
_darcs/prefs/defaultrepo
`
case
$defaultrepo
in
http://
*
|
*
@
*
:
*
)
# HTTP or SSH:
http://
*
|
*
:
*
)
defaultrepo_base
=
"
`
echo
$defaultrepo
|
sed
's!/ghc$!!'
`
"
defaultrepo_lib
=
"
$defaultrepo_base
"
/packages
;;
# Local filesystem (assumes a checked-out tree):
/
*
)
defaultrepo_base
=
"
$defaultrepo
"
defaultrepo_lib
=
"
$defaultrepo
"
/libraries
;;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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