[FE training-materials-updates] Fix backslash escaping

Maxime Ripard maxime.ripard at free-electrons.com
Thu Dec 13 20:28:29 CET 2012


Repository : git://git.free-electrons.com/training-materials.git

On branch  : master
Link       : http://git.free-electrons.com/training-materials/commit/?id=94796a688d582bfd31b10625e9c0237d7661e393

>---------------------------------------------------------------

commit 94796a688d582bfd31b10625e9c0237d7661e393
Author: Maxime Ripard <maxime.ripard at free-electrons.com>
Date:   Thu Dec 13 20:02:34 2012 +0100

    Fix backslash escaping
    
    Some users have experienced building problems due to the backslash
    escaping not behaving in the same way than on our machine.
    
    Invoking /bin/echo directly fixes that in both cases.
    
    Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>


>---------------------------------------------------------------

94796a688d582bfd31b10625e9c0237d7661e393
 Makefile |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index 46bb2cc..c1be1b3 100644
--- a/Makefile
+++ b/Makefile
@@ -462,9 +462,9 @@ $(OUTDIR)/%.jpg: %.jpg
 
 $(VARS): FORCE
 	@mkdir -p $(dir $@)
-	echo "\def \sessionurl {$(SESSION_URL)}" > $@
-	echo "\def \evaluationformurl {$(EVALUATION_FORM)}" >> $@
-	echo "\def \\\\training {$(SLIDES_TRAINING)}" >> $@
+	/bin/echo "\def \sessionurl {$(SESSION_URL)}" > $@
+	/bin/echo "\def \evaluationformurl {$(EVALUATION_FORM)}" >> $@
+	/bin/echo "\def \training {$(SLIDES_TRAINING)}" >> $@
 
 clean:
 	$(RM) -rf $(OUTDIR) *.pdf



More information about the training-materials-updates mailing list