Skip to content

Commit

Permalink
vlc.desktop: correctly set the path for the mimetypes file
Browse files Browse the repository at this point in the history
  • Loading branch information
jbkempf committed Jun 8, 2016
1 parent dc05e96 commit ab43553
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion share/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ CLEANFILES += $(appdata_DATA)

vlc.desktop: vlc.desktop.in $(top_builddir)/config.status
$(AM_V_GEN)sed -e 's,\@bindir\@,$(bindir),g' < "$<" > tmp-$@
$(AM_V_GEN)mimetypes="$$(sed 's/\s*#.*$$//g' vlc.desktop.mimetypes | egrep -v '^$$' | tr "\n" ';')"; sed -i "s,\@MIMETYPES\@,$$mimetypes,g" tmp-$@
$(AM_V_GEN)mimetypes="$$(sed 's/\s*#.*$$//g' $(srcdir)/vlc.desktop.mimetypes | egrep -v '^$$' | tr "\n" ';')"; sed -i "s,\@MIMETYPES\@,$$mimetypes,g" tmp-$@
$(AM_V_at)$(DESKTOP_FILE_VALIDATE) tmp-$@
$(AM_V_at)mv -f tmp-$@ $@

Expand Down

0 comments on commit ab43553

Please sign in to comment.