Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
ghcup-hs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Haskell
ghcup-hs
Commits
48c54bf3
Verified
Commit
48c54bf3
authored
3 years ago
by
Julian Ospald
Browse files
Options
Downloads
Patches
Plain Diff
Don't unconditionally adjust .bashrc on windows
parent
51da1578
No related branches found
No related tags found
1 merge request
!168
Don't unconditionally adjust .bashrc on windows
Pipeline
#40526
canceled
3 years ago
Stage: hlint
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/bootstrap/bootstrap-haskell
+1
-10
1 addition, 10 deletions
scripts/bootstrap/bootstrap-haskell
with
1 addition
and
10 deletions
scripts/bootstrap/bootstrap-haskell
+
1
−
10
View file @
48c54bf3
...
...
@@ -293,16 +293,7 @@ ask_bashrc() {
read
-r
bashrc_answer </dev/tty
else
# On windows .bashrc isn't an important user config, so we adjust it
# always. On other platforms, let's be a bit more conservative.
case
"
${
plat
}
"
in
MSYS
*
|
MINGW
*
)
return
1
;;
*
)
return
0
;;
esac
return
0
fi
case
$bashrc_answer
in
[
Pp]
*
|
""
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment