Installation fails using sh #12207
Labels
locked
[bot] locked due to inactivity
source::community
catch-all for issues filed by community members
type::bug
describes erroneous operation, use severity::* to classify the type
Checklist
What happened?
Installation of
Miniconda3-py310_22.11.1-1-Linux-x86_64.sh
usingsh
fails even though the install script claims it can be run using sh (Please run using "bash"/"dash"/"sh"/"zsh", but not "." or "source".
) and the shebang points to sh (#!/bin/sh
).The installation instructions say
bash
should be used, so why not point to bash in the shebang, best in a portable way#!/usr/bin/env bash
.Otherwise do not use bash-specific features such as
[[
.Conda Info
No response
Conda Config
No response
Conda list
No response
Additional Context
Command and script output (actual path replaced by ...):
The text was updated successfully, but these errors were encountered: