[FE training-materials-updates] Buildroot slides: fix date string

Michael Opdenacker michael.opdenacker at free-electrons.com
Fri Jan 8 06:37:25 CET 2016


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

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

commit c01a97678b67a04c968ae88cef36c186cb72e4c2
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date:   Fri Jan 8 06:37:25 2016 +0100

    Buildroot slides: fix date string
    
    in the 'date' command:
    M stands for minute
    m stands for month
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>
    Reported-by: Jerzy Grzegorek <jurekgabpl at wp.pl>


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

c01a97678b67a04c968ae88cef36c186cb72e4c2
 slides/buildroot-rootfs/buildroot-rootfs.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/slides/buildroot-rootfs/buildroot-rootfs.tex b/slides/buildroot-rootfs/buildroot-rootfs.tex
index a51608a..f586274 100644
--- a/slides/buildroot-rootfs/buildroot-rootfs.tex
+++ b/slides/buildroot-rootfs/buildroot-rootfs.tex
@@ -124,7 +124,7 @@ TARGET_DIR=$1
 BOARD_DIR=board/myproject/
 
 # Generate a file identifying the build (git commit and build date)
-echo $(git describe) $(date +%Y-%M-%d-%H:%m:%S) > \
+echo $(git describe) $(date +%Y-%m-%d-%H:%M:%S) > \
     $TARGET_DIR/etc/build-id
 
 # Create /applog mountpoint, and adjust /etc/fstab




More information about the training-materials-updates mailing list