aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-02-12 20:51:44 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-02-12 20:51:44 +0300
commit7d06c193ad79cec3d810be1811929cacc5ad108e (patch)
treeea9a3f709d1504ba17f77294f1c423eb783635ae /doc
parent9985db9c65fe02fa5d3743021f4985eee17822b8 (diff)
Use copyright extracted from LICENSE file for printing utility version
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/cli.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/cli.sh b/doc/cli.sh
index 928c31a..13d78e3 100755
--- a/doc/cli.sh
+++ b/doc/cli.sh
@@ -9,7 +9,7 @@ function info () { echo "$*" 1>&2; }
function error () { info "$*"; exit 1; }
date="$(date +"%B %Y")"
-copyright="$(sed -n -re 's%^Copyright \(c\) (.+)$%\1%p' ../LICENSE | head -n 1)"
+copyright="$(sed -n -re 's%^Copyright \(c\) (.+)\.$%\1%p' ../LICENSE)"
while [ $# -gt 0 ]; do
case $1 in