From bf65e627b7b5c9b505932a671618c378aa84c48f Mon Sep 17 00:00:00 2001 From: Luca Di Maio Date: Mon, 30 Oct 2023 13:09:47 +0100 Subject: [PATCH] assemble: fix separator for multiple export declaration Signed-off-by: Luca Di Maio --- distrobox-assemble | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/distrobox-assemble b/distrobox-assemble index 67316fbe1c..c784cdf0a3 100755 --- a/distrobox-assemble +++ b/distrobox-assemble @@ -360,13 +360,15 @@ run_distrobox() ( # First we start the container "${distrobox_path}"/distrobox enter "${name}" -- touch /dev/null - IFS=" " + IFS="¤" for app in ${exported_apps}; do + app="$(echo "${app}" | tr -d '[:space:]')" "${distrobox_path}"/distrobox enter "${name}" -- distrobox-export --app "${app}" done - IFS=" " + IFS="¤" for bin in ${exported_bins}; do + bin="$(echo "${bin}" | tr -d '[:space:]')" "${distrobox_path}"/distrobox enter "${name}" -- distrobox-export --bin "${bin}" --export-path "${exported_bins_path}" done fi