Skip to content

Commit

Permalink
assemble: fix separator for multiple export declaration
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Di Maio <[email protected]>
  • Loading branch information
89luca89 committed Oct 30, 2023
1 parent 232d0a2 commit bf65e62
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions distrobox-assemble
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bf65e62

Please sign in to comment.