-
Notifications
You must be signed in to change notification settings - Fork 30
Closed
Description
Problem under fedora:
$ echo $SILVER_SHELL
/bin/bashresults in
thread 'main' panicked at 'unknown $SILVER_SHELL', src/main.rs:57:18A possible solution for bash would be to modify in .bashrc:
export SILVER_SHELL="$(basename $0)"Another option would be to correctly parse the path of $0 in main.
By the way, the error message would be more helpful (i.e. the use does not need to look at the src), if it includes the current value of $SILVER_SHELL and the supported values.
Metadata
Metadata
Assignees
Labels
No labels