From 48c54bf374fe2d502e8506b07a55031e44382fbf Mon Sep 17 00:00:00 2001
From: Julian Ospald <hasufell@posteo.de>
Date: Fri, 10 Sep 2021 13:34:22 +0200
Subject: [PATCH] Don't unconditionally adjust .bashrc on windows
---
scripts/bootstrap/bootstrap-haskell | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/scripts/bootstrap/bootstrap-haskell b/scripts/bootstrap/bootstrap-haskell
index 744f39a2..b5a1dd70 100755
--- a/scripts/bootstrap/bootstrap-haskell
+++ b/scripts/bootstrap/bootstrap-haskell
@@ -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]* | "")
--
GitLab