mirror of
https://github.com/Raymo111/i3lock-color.git
synced 2024-10-27 05:23:10 -04:00
fix release checking to play nicely with AUR builds
This commit is contained in:
parent
613e9cb66d
commit
6c7ab082c6
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ AS_IF([test -d ${srcdir}/.git],
|
||||||
VERSION="$(git -C ${srcdir} describe --tags --abbrev=0)"
|
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/::)\\\")"
|
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:
|
# 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)"
|
VERSION="$(cut -d '-' -f 1 ${srcdir}/I3LOCK_VERSION | cut -d ' ' -f 1)"
|
||||||
|
|
Loading…
Reference in a new issue