added missing patch

This commit is contained in:
Dalibor Pospisil 2017-10-18 11:34:48 +02:00
parent 2097d28e49
commit 626eb74b89

25
test-built-time.patch Normal file
View File

@ -0,0 +1,25 @@
From 41cd84632aa1e5d4a5876a780f10864e87580e41 Mon Sep 17 00:00:00 2001
From: Dalibor Pospisil <dapospis@redhat.com>
Date: Wed, 18 Oct 2017 10:52:23 +0200
Subject: [PATCH] fixed typo
---
src/journal.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/journal.sh b/src/journal.sh
index 03d4fad..e7d65f2 100644
--- a/src/journal.sh
+++ b/src/journal.sh
@@ -722,7 +722,7 @@ __INTERNAL_CreateHeader(){
package="${packagename:-$test_version}"
local test_built
[[ -n "$package" ]] && test_built=$(rpm -q --qf '%{BUILDTIME}\n' $package) && {
- test_built="$(ehco "$test_built" | head -n 1 )"
+ test_built="$(echo "$test_built" | head -n 1 )"
printf -v test_built "%($__INTERNAL_TIMEFORMAT_LONG)T" "$test_built"
__INTERNAL_WriteToMetafile testversion -- "$test_built"
__INTERNAL_LogText " Test built : $test_built" 2> /dev/null
--
2.13.6