From 7d06c193ad79cec3d810be1811929cacc5ad108e Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 12 Feb 2020 20:51:44 +0300 Subject: Use copyright extracted from LICENSE file for printing utility version --- doc/cli.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') 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 -- cgit v1.1