[bootlin/training-materials updates] master: sysdev-linux: intro: Use ifthenelse macro (e0bee7f7)

Miquel Raynal miquel.raynal at bootlin.com
Thu Jun 2 10:54:21 CEST 2022


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/e0bee7f73ac7cc5515b1f5655c20b7fa87680c03

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

commit e0bee7f73ac7cc5515b1f5655c20b7fa87680c03
Author: Miquel Raynal <miquel.raynal at bootlin.com>
Date:   Mon May 30 17:50:15 2022 +0200

    sysdev-linux: intro: Use ifthenelse macro
    
    It seems to fix the logic that the previous macro tried to carry: not
    printing this slide in the kernel training because we already have one
    about the license later.
    
    Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>


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

e0bee7f73ac7cc5515b1f5655c20b7fa87680c03
 common/beamerthemeBootlin.sty                                      | 2 ++
 slides/sysdev-linux-intro-features/sysdev-linux-intro-features.tex | 3 +--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/common/beamerthemeBootlin.sty b/common/beamerthemeBootlin.sty
index d21eca28..7f2c0bb4 100644
--- a/common/beamerthemeBootlin.sty
+++ b/common/beamerthemeBootlin.sty
@@ -58,6 +58,8 @@
 % Display straight quotes instead of curly ones in verbatim mode
 \usepackage{upquote}
 
+\usepackage{ifthen}
+
 \lstloadlanguages{C}
 \lstset{%
   basicstyle=\tiny \ttfamily,
diff --git a/slides/sysdev-linux-intro-features/sysdev-linux-intro-features.tex b/slides/sysdev-linux-intro-features/sysdev-linux-intro-features.tex
index a1343b59..bdcf25c6 100644
--- a/slides/sysdev-linux-intro-features/sysdev-linux-intro-features.tex
+++ b/slides/sysdev-linux-intro-features/sysdev-linux-intro-features.tex
@@ -132,8 +132,7 @@
   \end{center}
 \end{frame}
 
-\expandafter\ifstrequal\expandafter{\training}{linux-kernel}{}
-{
+\ifthenelse{\equal{\training}{linux-kernel}}{}{
 \begin{frame}
   \frametitle{Linux license}
   \begin{itemize}




More information about the training-materials-updates mailing list