X-Git-Url: https://iankelling.org/git/?p=iankelling.org;a=blobdiff_plain;f=gitweb-descriptions;h=cd6014b0e119bbb223506c997038d376af356393;hp=34c797fc8ff220be137cebe7511e756c33dc59d4;hb=3da8c7ce9ed611cd12d48d5470db5725fa310f24;hpb=956d10ee358397728a058b51551ccd031c226c31 diff --git a/gitweb-descriptions b/gitweb-descriptions index 34c797f..cd6014b 100755 --- a/gitweb-descriptions +++ b/gitweb-descriptions @@ -1,4 +1,18 @@ #!/bin/bash -l +# Copyright (C) 2016 Ian Kelling + +# 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 +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . # my projects all have README or --help with a short single line # description which I parse and put into the gitweb description. @@ -59,7 +73,7 @@ gitweb-descriptions() { _git_desc_readme fi else - $f --help | sed -n '2p' > .git/description + ./$f --help | sed -n '2p' > .git/description fi else _git_desc_readme