i3lock-color

The world's most popular non-default computer lockscreen.
Index Commits Files Refs README LICENSE
commit 6c7ab082c674c02236e0c462872b9b94bfa5ab9d
parent 613e9cb66df0349c86ef2bf6f47c6e08e27d9852
Author: Pandora <Pandora@techfo.xyz>
Date:   Wed,  6 Dec 2017 13:05:33 -0500

fix release checking to play nicely with AUR builds

Diffstat:
Mconfigure.ac | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
@@ -34,7 +34,7 @@ AS_IF([test -d ${srcdir}/.git],
         VERSION="$(git -C ${srcdir} describe --tags --abbrev=0)"
         I3LOCK_VERSION="$(git -C ${srcdir} describe --tags --always) ($(git -C ${srcdir} log --pretty=format:%cd --date=short -n1), branch \\\"$(git -C ${srcdir} describe --tags --always --all | sed s:heads/::)\\\")"
         # Mirrors what libi3/is_debug_build.c does:
-        is_release=$(test $(echo "${I3LOCK_VERSION}" | cut -d '(' -f 1 | wc -m) -lt 12 && echo yes || echo no)
+        is_release=$(test $(echo "${I3LOCK_VERSION}" | cut -d ' ' -f 1 | wc -m) -lt 13 && echo yes || echo no)
       ],
       [
         VERSION="$(cut -d '-' -f 1 ${srcdir}/I3LOCK_VERSION | cut -d ' ' -f 1)"