ctucx.git: stagit

ctucx' stagit fork

commit df9d7d24460db69f09a400eba699f37108482a00
parent e3adef349c8e6d1ab3728ec5fa2a026325b33e66
Author: Oscar Benedito <oscar@oscarbenedito.com>
Date: Mon, 22 Mar 2021 19:21:28 +0100

Add "Personal setup" category
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/example_create.sh b/example_create.sh
@@ -59,7 +59,7 @@ done
 
 # generate index arguments
 args=""
-for cat in "Projects" "Miscellanea"; do
+for cat in "Projects" "Personal setup" "Miscellanea"; do
     args="$args -c \"$cat\""
     for dir in "$reposdir/"*.git/; do
         dir="${dir%/}"
diff --git a/example_post-receive.sh b/example_post-receive.sh
@@ -67,8 +67,8 @@ ln -sfT "${dir}" ".git"
 
 # generate index arguments
 args=""
-for cat in "Projects" "Miscellanea"; do
-    args="$args -c $cat"
+for cat in "Projects" "Personal setup" "Miscellanea"; do
+    args="$args -c \"$cat\""
     for dir in "$reposdir/"*.git/; do
         dir="${dir%/}"
         [ ! -f "$dir/git-daemon-export-ok" ] && continue