Commit bfd22ddd authored by Rafaël Carré's avatar Rafaël Carré

Be bsdmake friendly : don't embed $() in another $()

parent 43055c96
...@@ -391,7 +391,8 @@ SOURCES_libvlc_control = \ ...@@ -391,7 +391,8 @@ SOURCES_libvlc_control = \
misc/revision.c: misc/revision.c:
rm -f $@ $@.tmp rm -f $@ $@.tmp
echo "/* AUTOGENERATED FILE - DO NOT EDIT */" > $@.tmp echo "/* AUTOGENERATED FILE - DO NOT EDIT */" > $@.tmp
REVISION="$$((LANG=C git --git-dir=$(top_srcdir)/.git show-ref -s HEAD 2>/dev/null || echo exported) | cut -b -10)"; \ REVISION="$$(LANG=C git --git-dir=$(top_srcdir)/.git show-ref -s HEAD 2>/dev/null || echo exported)"; \
REVISION="$$(echo $$REVISION|cut -b -10)"; \
echo "const char psz_vlc_changeset[] = \"$$REVISION\";" >> $@.tmp echo "const char psz_vlc_changeset[] = \"$$REVISION\";" >> $@.tmp
mv -f $@.tmp $@ mv -f $@.tmp $@
......
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