jhalfs: update copyright years and adapt to git

- use git log to retrieve the most recent version to display with
  -v
This commit is contained in:
Pierre Labastie 2021-01-17 11:10:59 +01:00
parent f9babd04b5
commit e5518fd03e

7
jhalfs
View file

@ -1,5 +1,4 @@
#!/bin/bash #!/bin/bash
# $Id$
set -e set -e
# Pass trap handlers to functions # Pass trap handlers to functions
set -E set -E
@ -99,11 +98,11 @@ load_file() {
simple_message "OK\\n" simple_message "OK\\n"
} }
git_commit=$(git log -1 --format=format:"%h %ad")
version=" version="
${BOLD} \"jhalfs\"${OFF} builder tool (development) \$Rev$ ${BOLD} \"jhalfs\"${OFF} builder tool (development) $git_commit
\$Date$
Copyright (C) 2005-2019, the jhalfs team: Copyright (C) 2005-2021, the jhalfs team:
Jeremy Huntwork Jeremy Huntwork
George Boudreau George Boudreau
Manuel Canales Esparcia Manuel Canales Esparcia