projects
/
forks
/
stagit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f31894
)
example.sh: make symlinks to style, icons and index by default
author
Hiltjo Posthuma
<hiltjo@codemadness.org>
Tue, 5 Jan 2016 20:40:26 +0000
(21:40 +0100)
committer
Hiltjo Posthuma
<hiltjo@codemadness.org>
Tue, 5 Jan 2016 20:40:26 +0000
(21:40 +0100)
example.sh
patch
|
blob
|
history
diff --git
a/example.sh
b/example.sh
index 55285cc5984d2560b5b7ddf114cef84e2f980396..12e92c79602a89bea255361abc53455855f43304 100644
(file)
--- a/
example.sh
+++ b/
example.sh
@@
-34,4
+34,10
@@
find . -maxdepth 1 -type d | grep -v "^.$" | sort | while read -r dir; do
stagit "${reposdir}${d}"
printf " done\n"
+
+ # symlinks
+ ln -sf log.html index.html
+ ln -sf ../style.css style.css
+ ln -sf ../logo.png logo.png
+ ln -sf ../favicon.png favicon.png
done