Skip to content
Snippets Groups Projects
Commit 7a2c8eee authored by John Swinbank's avatar John Swinbank
Browse files

Use printf rather than echo for portability

parent b6d22509
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,6 @@ example.pdf: example.tex meta.tex
meta.tex: Makefile .FORCE
rm -f $@
echo '% GENERATED FILE -- edit this in the Makefile' >>$@
/bin/echo '\\newcommand{\\vcsRevision}{$(GITVERSION)$(GITDIRTY)}' >>$@
/bin/echo '\\newcommand{\\vcsDate}{$(GITDATE)}' >>$@
printf "%s\n" "% GENERATED FILE -- edit this in the Makefile" >>$@
printf "%s\n" "\newcommand{\vcsRevision}{$(GITVERSION)$(GITDIRTY)}" >>$@
printf "%s\n" "\newcommand{\vcsDate}{$(GITDATE)}" >>$@
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment