Commit 0aa01389 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Win32: Fix packaging with broken sed

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 33cf1494
......@@ -62,8 +62,8 @@ endif
if BUILD_OSDMENU
cp -r $(prefix)/share/vlc/osdmenu "$(win32_destdir)/"
for file in $(win32_destdir)/osdmenu/*.cfg; do \
sed -i.orig -e 's%share/osdmenu%osdmenu%g' -e 's%/%\\%g' "$$file"; \
rm -f -- "$${file}.orig"; \
sed -e 's%share/osdmenu%osdmenu%g' -e 's%/%\\%g' "$$file" > "$${file}.tmp"; \
mv -f "$${file}.tmp" "$${file}"; \
done
endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment