Skip to content

Commit

Permalink
dist-hook: Call sed in a more portable way
Browse files Browse the repository at this point in the history
Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
  • Loading branch information
ismaell committed Oct 10, 2017
1 parent b776433 commit 1ac35ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ distclean-local:
po/stamp-po \
src/Makefile.in

remove_git_dep = \
sed -i '/^am__aclocal/,/[^\\]$$/ s:[$$](top_srcdir)/[.]git/[^ ]* *::g'
remove_git_dep = sed -i -e \
'/^am__aclocal/,/[^\\]$$/ s:[$$](top_srcdir)/[.]git/[^ ]* *::g'
dist-hook:
rm -rf $(distdir)/.git
read _ RELDATE _ < $(top_srcdir)/VERSION; \
Expand Down

0 comments on commit 1ac35ee

Please sign in to comment.