fix: move '-s bash' to the end (#1)

This commit is contained in:
Pavel Korytov 2023-07-08 12:26:49 +03:00
parent 5a152840a7
commit ce97237986

View file

@ -164,7 +164,7 @@ The parameters value is an alist as defined by
`micromamba--parse-script-buffer'." `micromamba--parse-script-buffer'."
(with-temp-buffer (with-temp-buffer
(call-process micromamba-executable nil t nil (call-process micromamba-executable nil t nil
"shell" "-s" "bash" "activate" prefix) "shell" "activate" prefix "-s" "bash")
(goto-char (point-min)) (goto-char (point-min))
(micromamba--parse-script-buffer))) (micromamba--parse-script-buffer)))
@ -175,7 +175,7 @@ The parameters value is an alist as defined by
`micromamba--parse-script-buffer'." `micromamba--parse-script-buffer'."
(with-temp-buffer (with-temp-buffer
(call-process micromamba-executable nil t nil (call-process micromamba-executable nil t nil
"shell" "-s" "bash" "deactivate") "shell" "deactivate" "-s" "bash")
(goto-char (point-min)) (goto-char (point-min))
(micromamba--parse-script-buffer))) (micromamba--parse-script-buffer)))