summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-06-28 13:44:13 +0100
committerLeah Rowe <leah@libreboot.org>2024-06-28 13:44:13 +0100
commitd36c07847d814e15be5a82be1713e1958af5d308 (patch)
tree525ccb60321604b42e2158ba100dd4aeb5e1798f
parent40d3bb19be62e7de6324719318c125bddf194a8e (diff)
lib.sh: keep versiondate check to 80 characters
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-xinclude/lib.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/lib.sh b/include/lib.sh
index 131d6cb9..94d1997f 100755
--- a/include/lib.sh
+++ b/include/lib.sh
@@ -103,8 +103,8 @@ x_() {
[ -e ".git" ] || [ -f "version" ] || printf "unknown\n" > version || \
$err "Cannot generate unknown version file"
-[ -e ".git" ] || [ -f "versiondate" ] || printf "1716415872\n" > versiondate || \
- $err "Cannot generate unknown versiondate file"
+[ -e ".git" ] || [ -f "versiondate" ] || printf "1716415872\n" > versiondate \
+ || $err "Cannot generate unknown versiondate file"
version_="$version"
[ ! -e ".git" ] || version="$(git describe --tags HEAD 2>&1)" || \