Commit graph

9 commits

Author SHA1 Message Date
a1346054
362e3cd6ff
Use command -v instead of which (#1704)
`command -v` is the standardized version of `which`
2022-09-19 17:06:14 +02:00
nomoo
0b72ff2a74
Fix sed binary call with variable (#1707)
* Use variable instead of binary name

* Use variable for sed
2022-09-13 22:41:41 +02:00
a1346054
c62137f8ab
Simple maintenance improvements (#1370)
* rofi moved to libera.chat

* unify some theme headers and whitespace

* consistently use the same hashbang for bash

* improve obsolete way of testing equality

see https://github.com/koalaman/shellcheck/wiki/SC2268 for explanation

* use consistent function definitions in bash scripts

* remove duplicated author and fix whitespace

* quote all variables in scripts

fixes many warnings identified through shellcheck

* fix whitespace in scripts

* fix whitespace in non-source files

* fix spelling in non-source files

* fix whitespace and indentation in source files

* fix spelling in source files
2021-08-14 13:03:16 +02:00
Dave Davenport
f0775b2918 Don't put g next to 7 char commit has in version.
Hard to select sha in 1.3.1-292-ga5a9473-dirty so
1.3.1-292-git-a5a9473-dirty  is easier

Fixes: #578
2017-03-21 08:37:07 +01:00
Niklas Haas
acdd8ddb5a Use bash instead of sh for get_git_rev.sh (#445)
The script relies on bash extensions to `echo`, which is not portable to
POSIX shells. Simplest fix is to request bash explicitly.
2016-08-14 08:18:32 +02:00
Jasper Lievisse Adriaanse
6beb315f77 no need for bash here, sh suffices 2016-04-27 18:13:19 +02:00
Dave Davenport
93362d63f2 Update git revision script. 2016-04-10 13:22:49 +02:00
Quentin Glidic
5f1fcf5e77 version: Let Git provide meaningful information
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-04-05 16:50:14 +02:00
Dave Davenport
545c423b61 Tried to fix strlen on NULL 2016-03-12 14:00:19 +01:00