Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tarot
tarot
Commits
10544b1f
Commit
10544b1f
authored
Jan 02, 2020
by
Vivien Kraus
Browse files
fix the copyright date checker
Now that we changed year, it is obvious that it does not work.
parent
f3f7e877
Pipeline
#200940
passed with stages
in 38 minutes and 45 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
copyright/check-copyright
View file @
10544b1f
#!/bin/sh
# tarot implements the rules of the tarot game
# Copyright (C) 2019 Vivien Kraus
# Copyright (C) 2019
, 2020
Vivien Kraus
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
...
...
@@ -34,7 +34,7 @@ EOF
FIRSTLINE
=
$(
head
-n
1
"
$1
"
)
SECONDLINE
=
$(
head
-n
2
"
$1
"
|
tail
-n
1
)
REST
=
$(
tail
-n
+4
"
$1
"
)
LAST_MODIFICATION
=
$(
git log
-1
--format
=
%cd
configure.ac |
date
'+%Y'
)
LAST_MODIFICATION
=
$(
date
-d
"
$(
git log
-1
--format
=
%cd
--date
=
iso
$1
)
"
'+%Y'
)
case
"
$1
"
in
*
.png
|
./model/
*
.model
|
./nsi/
*
.rc
|
./doc/fdl.texi
|
./doc/style.css
|
./doc/convergence.csv
\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment