iankelling.org
/
git
/
iankelling.org
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
812e8fe
)
support gitweb subdirs
author
Ian Kelling
<ian@iankelling.org>
Fri, 23 Sep 2016 17:41:28 +0000
(10:41 -0700)
committer
Ian Kelling
<ian@iankelling.org>
Fri, 23 Sep 2016 17:41:28 +0000
(10:41 -0700)
setup.sh
patch
|
blob
|
history
diff --git
a/setup.sh
b/setup.sh
index be4c4d7b89a420190a10d3ed2aeb575a86eaef46..8eb53b43213df9d849cc92b9bebfcda502c20982 100755
(executable)
--- a/
setup.sh
+++ b/
setup.sh
@@
-158,8
+158,19
@@
_git_desc_readme() {
break
done < README*
}
+
+dirs=()
+for d in $gitroot/*; do
+ if [[ -d $d && ! -L $d ]]; then
+ for sub in $d/*; do
+ dirs+=($sub)
+ done
+ else
+ dirs+=($d)
+ fi
+done
gitweb_descriptions() {
- for d in $
gitroot/*
; do
+ for d in $
{dirs[@]}
; do
d=$(readlink -f $d)
cd $d/..
e ${PWD##*/}