Skip to content

Commit

Permalink
export: Fix the issue when export would fail if there is a quote in f…
Browse files Browse the repository at this point in the history
…ilename(s). (#1004)
  • Loading branch information
vitalijb authored Nov 19, 2023
1 parent ca06efc commit 1b92d36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distrobox-export
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ export_application() {
# by its launcher name.
desktop_files=$(
# shellcheck disable=SC2086,SC2038
find ${canon_dirs} -type f -o -type l |
find ${canon_dirs} -type f -o -type l -printf '"%p"\n' |
xargs -I{} grep -le "Exec=.*${exported_app}.*" -le "Name=.*${exported_app}.*" "{}" |
xargs -I{} grep -Le "Exec=.*${DISTROBOX_ENTER_PATH:-"distrobox-enter"}.*" "{}" |
xargs -I{} printf "%s@" {}
Expand Down

0 comments on commit 1b92d36

Please sign in to comment.