mirror of
https://github.com/89luca89/distrobox.git
synced 2026-08-19 01:14:49 -05:00
create: use only shell name in SHELL, not full path
Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
This commit is contained in:
+1
-1
@@ -523,7 +523,7 @@ generate_command() {
|
||||
# utilities.
|
||||
result_command="${result_command}
|
||||
--label \"manager=distrobox\"
|
||||
--env \"SHELL=${SHELL:-"/bin/bash"}\"
|
||||
--env \"SHELL=$(basename "${SHELL:-"/bin/bash"}")\"
|
||||
--env \"HOME=${container_user_home}\"
|
||||
--volume /:/run/host:rslave
|
||||
--volume /dev:/dev:rslave
|
||||
|
||||
Reference in New Issue
Block a user