X-Git-Url: https://iankelling.org/git/?p=iankelling.org;a=blobdiff_plain;f=gitweb-descriptions;fp=gitweb-descriptions;h=c9255f2e5cd85c83474c7fef82e84bf9f4e0467e;hp=08775a8f38a4339b745914191fb26dd8ad8f9563;hb=415153a9d1b46385bac37a3718cba9f1801b682d;hpb=0f82eb11023889fb0210c8c26bb239c949fce444 diff --git a/gitweb-descriptions b/gitweb-descriptions index 08775a8..c9255f2 100755 --- a/gitweb-descriptions +++ b/gitweb-descriptions @@ -37,6 +37,11 @@ shopt -s extglob shopt -s nullglob _git_desc_readme() { + x=(README*) + if [[ ! $x ]]; then + echo "$1: error: no README at $PWD" + exit 1 + fi while read -r line; do [[ $line ]] || continue if echo "$line" | grep "^ *[#*]" &>/dev/null; then @@ -75,12 +80,12 @@ tmp=( bashrc automated-distro-installer buildscripts - config-files distro-setup dot-emacs fai-basefiles ian-misc-bash iankelling.org + keyboard.io-layout ) declare -A personalized for p in ${tmp[@]}; do personalized[$p]=true; done