diff --git a/distrobox-create b/distrobox-create index 853bd64f0d..a0430ebff1 100755 --- a/distrobox-create +++ b/distrobox-create @@ -120,7 +120,7 @@ for config_file in ${config_files}; do # Shellcheck will give error for sourcing a variable file as it cannot follow # it. We don't care so let's disable this linting for now. # shellcheck disable=SC1090 - [ -e "${config_file}" ] && . "$(realpath "${config_file}")" + [ -e "${config_file}" ] && . "$(realpath "${config_file}")" done # If we're running this script as root -- as in logged in in the shell as root # user, and not via SUDO/DOAS --, we don't need to set distrobox_sudo_program diff --git a/distrobox-enter b/distrobox-enter index 497710f173..68f9cb4461 100755 --- a/distrobox-enter +++ b/distrobox-enter @@ -100,7 +100,7 @@ for config_file in ${config_files}; do # Shellcheck will give error for sourcing a variable file as it cannot follow # it. We don't care so let's disable this linting for now. # shellcheck disable=SC1090 - [ -e "${config_file}" ] && . "$(realpath "${config_file}")" + [ -e "${config_file}" ] && . "$(realpath "${config_file}")" done # If we're running this script as root -- as in, logged in in the shell as root # user, and not via SUDO/DOAS --, we don't need to set distrobox_sudo_program diff --git a/distrobox-generate-entry b/distrobox-generate-entry index 7aac99d296..c641f5864e 100755 --- a/distrobox-generate-entry +++ b/distrobox-generate-entry @@ -68,7 +68,7 @@ for config_file in ${config_files}; do # Shellcheck will give error for sourcing a variable file as it cannot follow # it. We don't care so let's disable this linting for now. # shellcheck disable=SC1090 - [ -e "${config_file}" ] && . "$(realpath "${config_file}")" + [ -e "${config_file}" ] && . "$(realpath "${config_file}")" done # Print usage to stdout. diff --git a/distrobox-init b/distrobox-init index 7024a16a8a..03fdd27950 100755 --- a/distrobox-init +++ b/distrobox-init @@ -2004,7 +2004,7 @@ if [ -n "${DISTROBOX_HOST_HOME-}" ] && [ -d "/etc/skel" ]; then cp "${skel_file}" "${container_user_home}/${file_path_for_home:+"${file_path_for_home}"/}${base_file_name}" fi done - chown -R "${container_user_uid}":"${container_user_gid}" "${container_user_home}/${file_path_for_home:+"${file_path_for_home}"/}" + chown -R "${container_user_uid}":"${container_user_gid}" "${container_user_home}/${file_path_for_home:+"${file_path_for_home}"/}" fi ############################################################################### diff --git a/distrobox-list b/distrobox-list index 0e7a101836..5dc9375367 100755 --- a/distrobox-list +++ b/distrobox-list @@ -67,7 +67,7 @@ for config_file in ${config_files}; do # Shellcheck will give error for sourcing a variable file as it cannot follow # it. We don't care so let's disable this linting for now. # shellcheck disable=SC1090 - [ -e "${config_file}" ] && . "$(realpath "${config_file}")" + [ -e "${config_file}" ] && . "$(realpath "${config_file}")" done # If we're running this script as root -- as in logged in in the shell as root # user, and not via SUDO/DOAS --, we don't need to set distrobox_sudo_program diff --git a/distrobox-rm b/distrobox-rm index 51c14723ed..3e81bed861 100755 --- a/distrobox-rm +++ b/distrobox-rm @@ -77,7 +77,7 @@ for config_file in ${config_files}; do # Shellcheck will give error for sourcing a variable file as it cannot follow # it. We don't care so let's disable this linting for now. # shellcheck disable=SC1090 - [ -e "${config_file}" ] && . "$(realpath "${config_file}")" + [ -e "${config_file}" ] && . "$(realpath "${config_file}")" done # If we're running this script as root - as in logged in in the shell as root # user, and not via SUDO/DOAS -, we don't need to set distrobox_sudo_program diff --git a/distrobox-stop b/distrobox-stop index 70a20ba83d..cb43a5a2b1 100755 --- a/distrobox-stop +++ b/distrobox-stop @@ -75,7 +75,7 @@ for config_file in ${config_files}; do # Shellcheck will give error for sourcing a variable file as it cannot follow # it. We don't care so let's disable this linting for now. # shellcheck disable=SC1090 - [ -e "${config_file}" ] && . "$(realpath "${config_file}")" + [ -e "${config_file}" ] && . "$(realpath "${config_file}")" done # If we're running this script as root - as in logged in in the shell as root # user, and not via SUDO/DOAS -, we don't need to set distrobox_sudo_program diff --git a/distrobox-upgrade b/distrobox-upgrade index 3bdb661147..8aedd0f72f 100755 --- a/distrobox-upgrade +++ b/distrobox-upgrade @@ -62,7 +62,7 @@ for config_file in ${config_files}; do # Shellcheck will give error for sourcing a variable file as it cannot follow # it. We don't care so let's disable this linting for now. # shellcheck disable=SC1090 - [ -e "${config_file}" ] && . "$(realpath "${config_file}")" + [ -e "${config_file}" ] && . "$(realpath "${config_file}")" done # If we're running this script as root - as in logged in in the shell as root # user, and not via SUDO/DOAS -, we don't need to set distrobox_sudo_program