diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-09-20 22:06:57 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-09-20 22:07:20 +0200 |
commit | f8eb04d9f2106aacfd98cb2b5f2d6c0870cce7d3 (patch) | |
tree | 3ce0be59803ff9fd6980218cd94f5b357bdb5e16 /wiki | |
parent | fre 16 sep 2022 12:57:09 CEST (diff) | |
parent | tis 20 sep 2022 18:04:47 CEST (diff) | |
download | wiki-public-f8eb04d9f2106aacfd98cb2b5f2d6c0870cce7d3.tar.gz wiki-public-f8eb04d9f2106aacfd98cb2b5f2d6c0870cce7d3.tar.xz |
tis 20 sep 2022 22:07:23 CEST
Diffstat (limited to 'wiki')
-rwxr-xr-x | wiki | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -8,6 +8,8 @@ WIKI_LIST=$(ls $WIKIROOT | grep -v html) wiki_list="" +alias git='git -c color.status=always' + # # Adds all files to git, and commits with either the arguments as # message, or with the current time as the message. @@ -62,7 +64,7 @@ function wiki_do { echo "-- $wiki --" ;; *) - eval "git $@" + eval "git -c color.status=always $@" ;; esac } @@ -120,8 +122,8 @@ fi # Run given command for all wikis for wiki in ${wiki_list:-$WIKI_LIST}; do - echo "== $wiki ==" - wiki_do $wiki $@ & + wiki_do $wiki $@ | sed "s/^/$wiki /" & done + wait |