From ac210c74ae7940ef3585ef498e3e3a00e66cb7b4 Mon Sep 17 00:00:00 2001 From: Natanael Copa <ncopa@alpinelinux.org> Date: Fri, 11 Nov 2016 07:46:37 -0800 Subject: [PATCH] scripts/mkimage-yaml: strip milliseconds from time stamp --- scripts/mkimage-yaml.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/mkimage-yaml.sh b/scripts/mkimage-yaml.sh index b3e49626a03c..0170f3ee0013 100755 --- a/scripts/mkimage-yaml.sh +++ b/scripts/mkimage-yaml.sh @@ -47,6 +47,7 @@ for image; do size="$(stat -c "%s" $image)" date=${datetime%% *} time=${datetime#* } + time=${time%.*} file=${filepath##*/} flavor=${file%-${release}-${arch}.*} -- GitLab