Skip to content

Commit

Permalink
use default shell on system (#135)
Browse files Browse the repository at this point in the history
* use default shell on system

* add releasenotes for  changes in d4b486f
  • Loading branch information
kumiDa authored Apr 29, 2021
1 parent 783fc90 commit a32107f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions releasenotes/notes/use-system-shell-222f6711f7b17dd4.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
features:
- |
source the shell from the system's ``SHELL`` environment variable,
if that's missing fall back to ``/bin/bash`` as the default shell.
2 changes: 1 addition & 1 deletion riot/riot.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

logger = logging.getLogger(__name__)

SHELL = "/bin/bash"
SHELL = os.getenv("SHELL", "/bin/bash")
ENCODING = sys.getdefaultencoding()


Expand Down

0 comments on commit a32107f

Please sign in to comment.