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:
Luca Di Maio
2023-06-30 19:00:46 +02:00
parent 851d64109f
commit c3406b627e
+1 -1
View File
@@ -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