Skip to content

Commit

Permalink
Fixed order in %yast_desktop_files macro
Browse files Browse the repository at this point in the history
Order is important for find. Swapped -name and -print0
  • Loading branch information
sbluhm committed Oct 13, 2020
1 parent a5fdc8d commit 817d8a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build-tools/rpm/macros.yast
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ fi \
%suse_update_desktop_file -d ycc_${d%.desktop} ${d%.desktop} \
done \
%else # 0%%{?suse_version} \
%{_bindir}/find %{buildroot}/%{yast_desktopdir}/ -print0 \\\
-name '*.desktop' | %{_bindir}/sort -uz | \\\
%{_bindir}/find %{buildroot}/%{yast_desktopdir}/ -name '*.desktop' \\\
-print0 | %{_bindir}/sort -uz | \\\
%{_bindir}/xargs -0 %{_bindir}/desktop-file-validate \
%endif # 0%%{?suse_version}

Expand Down

0 comments on commit 817d8a7

Please sign in to comment.